diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-22 01:38:11 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-22 01:38:11 +0200 |
commit | 78831b40d6ce24cdbcbfded049cb251097c58c13 (patch) | |
tree | ebd1aea0eadfc8e2fd695f27b63e27cb147ede28 /daemon.c | |
parent | Merge branch 'jn/web' into next (diff) | |
parent | daemon: send stderr to /dev/null instead of closing. (diff) | |
download | git-78831b40d6ce24cdbcbfded049cb251097c58c13.tar.xz git-78831b40d6ce24cdbcbfded049cb251097c58c13.zip |
Merge branch 'jc/upload-corrupt' into next
* jc/upload-corrupt:
daemon: send stderr to /dev/null instead of closing.
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -762,7 +762,7 @@ int main(int argc, char **argv) struct sockaddr *peer = (struct sockaddr *)&ss; socklen_t slen = sizeof(ss); - fclose(stderr); //FIXME: workaround + freopen("/dev/null", "w", stderr); if (getpeername(0, peer, &slen)) peer = NULL; |