diff options
Diffstat (limited to 'src/libusbmuxd.c')
-rw-r--r-- | src/libusbmuxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 3456bfb..4997f3c 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c @@ -572,7 +572,7 @@ static int usbmuxd_listen_inotify() /* check that it's ours */ if (pevent->mask & IN_CREATE && pevent->len && - pevent->name != NULL && + pevent->name[0] != 0 && strcmp(pevent->name, USBMUXD_SOCKET_NAME) == 0) { sfd = connect_usbmuxd_socket (); goto end; |