diff options
author | Nikias Bassen | 2009-04-17 18:14:16 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-04-17 18:14:16 +0200 |
commit | 966872a569c7082b46fc94f9c446f24fb1969a2a (patch) | |
tree | c18de1749846a3a9f13d9200b210d5514f1b90d6 /sock_stuff.c | |
parent | f88d5a5124b36f798f05f5524b54db4713d4beda (diff) | |
download | usbmuxd-966872a569c7082b46fc94f9c446f24fb1969a2a.tar.gz usbmuxd-966872a569c7082b46fc94f9c446f24fb1969a2a.tar.bz2 |
removed some compiler warnings
Diffstat (limited to 'sock_stuff.c')
-rw-r--r-- | sock_stuff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sock_stuff.c b/sock_stuff.c index 8a06135..43fdf0e 100644 --- a/sock_stuff.c +++ b/sock_stuff.c @@ -224,6 +224,8 @@ int check_fd(int fd, fd_mode fdm, unsigned int timeout) case FD_EXCEPT: sret = select(fd+1,NULL,NULL,&fds,&to); break; + default: + return -1; } if (sret < 0) { |