diff options
author | Nikias Bassen | 2014-01-09 15:27:00 +0100 |
---|---|---|
committer | Nikias Bassen | 2014-01-09 15:27:00 +0100 |
commit | 549da0b893d1d85b5a553a92aef8a4fecb4a602f (patch) | |
tree | 1378e34e4fdae4ff97cf994223a83144dfe9b416 /src/device.c | |
parent | 96281bed0b27c8b37bbeccc8171ee5422e8306e1 (diff) | |
download | usbmuxd-549da0b893d1d85b5a553a92aef8a4fecb4a602f.tar.gz usbmuxd-549da0b893d1d85b5a553a92aef8a4fecb4a602f.tar.bz2 |
removed trailing \n from usbmuxd_log() messages
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c index 28c0893..356c70a 100644 --- a/src/device.c +++ b/src/device.c @@ -463,7 +463,7 @@ static void device_version_input(struct mux_device *dev, struct version_header * vh->major = ntohl(vh->major); vh->minor = ntohl(vh->minor); if(vh->major != 1 || vh->minor != 0) { - usbmuxd_log(LL_ERROR, "Device %d has unknown version %d.%d\n", dev->id, vh->major, vh->minor); + usbmuxd_log(LL_ERROR, "Device %d has unknown version %d.%d", dev->id, vh->major, vh->minor); pthread_mutex_lock(&device_list_mutex); collection_remove(&device_list, dev); pthread_mutex_unlock(&device_list_mutex); @@ -491,7 +491,7 @@ static void device_tcp_input(struct mux_device *dev, struct tcphdr *th, unsigned dev->id, dport, sport, ntohl(th->th_seq), ntohl(th->th_ack), th->th_flags, ntohs(th->th_win) << 8, ntohs(th->th_win), payload_length); if(dev->state != MUXDEV_ACTIVE) { - usbmuxd_log(LL_ERROR, "Received TCP packet from device %d but the device isn't active yet, discarding\n", dev->id); + usbmuxd_log(LL_ERROR, "Received TCP packet from device %d but the device isn't active yet, discarding", dev->id); return; } |