X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/78808f320d39f8c22622feb613706325222cfd59..a534b3b856a1e3cbfe60bc0bca432e802f9718be:/keyd.c?ds=inline diff --git a/keyd.c b/keyd.c index 7b8a18f..33af8ea 100644 --- a/keyd.c +++ b/keyd.c @@ -311,7 +311,8 @@ int sock_do(int fd) int sock_close(int fd) { - return shutdown(fd, SHUT_RDWR); + shutdown(fd, SHUT_RDWR); + return close(fd); } int sock_accept(int fd)