From 719ebc32464581ebc6b465d2fe78e642c1f50e20 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sun, 7 Feb 2010 01:59:18 +0100 Subject: Remove silly null statement --- daemon/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1-32-gdbae