Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When writing to a daemon with read only = false and uid = root and -g,
[rsync/rsync.git]
/
socket.c
diff --git
a/socket.c
b/socket.c
index
1e7a9ed
..
9c86c49
100644
(file)
--- 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));
}