diff options
author | Martin Szulecki | 2020-06-08 22:53:58 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-08 22:53:58 +0200 |
commit | 4a6182bf8d7abdc69d13784c5fa6f1438970d26b (patch) | |
tree | b8a1f36e57b43095df4fd1eb77c926f0ea93bd51 /src/libusbmuxd.c | |
parent | d719a3647886499fad490d9453637e0762707bc1 (diff) | |
download | libusbmuxd-4a6182bf8d7abdc69d13784c5fa6f1438970d26b.tar.gz libusbmuxd-4a6182bf8d7abdc69d13784c5fa6f1438970d26b.tar.bz2 |
Remove trailing whitespace errors from all files
Diffstat (limited to 'src/libusbmuxd.c')
-rw-r--r-- | src/libusbmuxd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 4706343..d0cccd1 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c @@ -807,7 +807,7 @@ static int send_pair_record_packet(int sfd, uint32_t tag, const char* msgtype, c if (device_id > 0) { plist_dict_set_item(plist, "DeviceID", plist_new_uint(device_id)); } - + res = send_plist_packet(sfd, tag, plist); plist_free(plist); @@ -939,9 +939,9 @@ static int usbmuxd_listen_inotify() /* check that it's ours */ if (pevent->mask & IN_CREATE && - pevent->len && - pevent->name[0] != 0 && - strcmp(pevent->name, USBMUXD_SOCKET_NAME) == 0) { + pevent->len && + pevent->name[0] != 0 && + strcmp(pevent->name, USBMUXD_SOCKET_NAME) == 0) { /* retry if usbmuxd isn't ready yet */ int retry = 10; while (--retry >= 0) { @@ -1112,7 +1112,7 @@ static void *device_monitor(void *data) while (running) { int res = get_next_event(listenfd); if (res < 0) { - break; + break; } } @@ -1570,7 +1570,7 @@ USBMUXD_API int usbmuxd_send(int sfd, const char *data, uint32_t len, uint32_t * if (sfd < 0) { return -EINVAL; } - + num_sent = socket_send(sfd, (void*)data, len); if (num_sent < 0) { *sent_bytes = 0; |