diff options
| -rw-r--r-- | libusbmuxd/libusbmuxd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c index 5735a72..304e8da 100644 --- a/libusbmuxd/libusbmuxd.c +++ b/libusbmuxd/libusbmuxd.c | |||
| @@ -405,7 +405,11 @@ static int usbmuxd_listen_inotify() | |||
| 405 | { | 405 | { |
| 406 | int inot_fd; | 406 | int inot_fd; |
| 407 | int watch_fd; | 407 | int watch_fd; |
| 408 | int sfd;; | 408 | int sfd; |
| 409 | |||
| 410 | sfd = connect_usbmuxd_socket(); | ||
| 411 | if (sfd >= 0) | ||
| 412 | return sfd; | ||
| 409 | 413 | ||
| 410 | sfd = -1; | 414 | sfd = -1; |
| 411 | inot_fd = inotify_init (); | 415 | inot_fd = inotify_init (); |
