summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-11-15 01:32:20 +0000
committerAndrew Tridgell <tridge@samba.org>1999-11-15 01:32:20 +0000
commit1f5c6343e6a3d55689073f60e71fd56cab42f89d (patch)
tree405b520710f85ee7f262b5081a4fb2929b574750 /socket.c
parent290b615a16c484c5dde6e415e923da1334c2ddd6 (diff)
downloadrsync-1f5c6343e6a3d55689073f60e71fd56cab42f89d.tar.gz
rsync-1f5c6343e6a3d55689073f60e71fd56cab42f89d.tar.bz2
rsync-1f5c6343e6a3d55689073f60e71fd56cab42f89d.zip
removed old non-blocking fd code (a hangover from a earlier version of
io.c). Thanks to Theo for pointing out this brokenness.
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c4
1 files changed, 0 insertions, 4 deletions
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));
}