X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5c9730a46c44e5913a4d4767bd99ec23f2f81073..dcc875e41e1c9865755dbd0cc839e74ac878910e:/socket.c diff --git a/socket.c b/socket.c index 1e7a9edb..9c86c498 100644 --- a/socket.c +++ b/socket.c @@ -148,8 +148,6 @@ int open_socket_out(char *host, int port) return -1; } - set_nonblocking(res); - return res; } @@ -266,8 +264,6 @@ void start_accept_loop(int port, int (*fn)(int )) if (fork()==0) { close(s); - set_nonblocking(fd); - _exit(fn(fd)); }