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