Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
78ece13
)
Doc.
author
Martin Pool
<mbp@samba.org>
Mon, 18 Feb 2002 23:36:10 +0000
(23:36 +0000)
committer
Martin Pool
<mbp@samba.org>
Mon, 18 Feb 2002 23:36:10 +0000
(23:36 +0000)
socket.c
patch
|
blob
|
blame
|
history
diff --git
a/socket.c
b/socket.c
index
c4420ba
..
d69e4cf
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-436,6
+436,7
@@
void start_accept_loop(int port, int (*fn)(int ))
* accept again. */
sleep(2);
} else {
* accept again. */
sleep(2);
} else {
+ /* Parent doesn't need this fd anymore. */
close(fd);
}
}
close(fd);
}
}