diff options
author | Hector Martin | 2010-02-07 01:59:18 +0100 |
---|---|---|
committer | Hector Martin | 2010-02-07 02:00:48 +0100 |
commit | 719ebc32464581ebc6b465d2fe78e642c1f50e20 (patch) | |
tree | b31f28e0bfb0ebf58d4ed3dd2e75ddc2530463bb | |
parent | c9db7c05573bee6e819ae76095e0d80f5fe02dd4 (diff) | |
download | usbmuxd-719ebc32464581ebc6b465d2fe78e642c1f50e20.tar.gz usbmuxd-719ebc32464581ebc6b465d2fe78e642c1f50e20.tar.bz2 |
Remove silly null statementv1.0.2
-rw-r--r-- | daemon/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/device.c b/daemon/device.c index 824edac..acedbdf 100644 --- a/daemon/device.c +++ b/daemon/device.c @@ -166,7 +166,7 @@ static int send_packet(struct mux_device *dev, enum mux_protocol proto, void *he buffer = malloc(total); struct mux_header *mhdr = (struct mux_header *)buffer; mhdr->protocol = htonl(proto); - mhdr->length = htonl(total);; + mhdr->length = htonl(total); memcpy(buffer + sizeof(struct mux_header), header, hdrlen); if(data && length) memcpy(buffer + sizeof(struct mux_header) + hdrlen, data, length); |