summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/device.c2
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);