X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/bd37c6663080198fc8ba60a50f3ccfe11b09fe69..79845f28349b27e9b08ee1965337c12de927be2a:/socket.c diff --git a/socket.c b/socket.c index c4420ba7..d69e4cf3 100644 --- a/socket.c +++ b/socket.c @@ -436,6 +436,7 @@ void start_accept_loop(int port, int (*fn)(int )) * accept again. */ sleep(2); } else { + /* Parent doesn't need this fd anymore. */ close(fd); } }