From cd07d72075739d6b59238d16fde6d02a1b97dbb9 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 5 Apr 2012 13:58:18 +0200 Subject: libusbmuxd: fix usbmuxd_unsubscribe() by using shutdown() instead of SIGINT --- libusbmuxd/sock_stuff.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libusbmuxd/sock_stuff.c') diff --git a/libusbmuxd/sock_stuff.c b/libusbmuxd/sock_stuff.c index edc738e..609c8ad 100644 --- a/libusbmuxd/sock_stuff.c +++ b/libusbmuxd/sock_stuff.c @@ -321,6 +321,11 @@ int check_fd(int fd, fd_mode fdm, unsigned int timeout) return sret; } +int shutdown_socket(int fd, int how) +{ + return shutdown(fd, how); +} + int close_socket(int fd) { #ifdef WIN32 return closesocket(fd); -- cgit v1.1-32-gdbae