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
Define the WEXITSTATUS macro for systems that don't have it.
[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;
}
return -1;
}
- set_nonblocking(res);
-
return res;
}
return res;
}
@@
-266,8
+264,6
@@
void start_accept_loop(int port, int (*fn)(int ))
if (fork()==0) {
close(s);
if (fork()==0) {
close(s);
- set_nonblocking(fd);
-
_exit(fn(fd));
}
_exit(fn(fd));
}