Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix botched "leak fix"
[gitweb.git]
/
connect.c
diff --git
a/connect.c
b/connect.c
index 66daa11a5737efd6ee2dbd6ff2ad0e1475fcba20..78448889da3f11fa28aacad17d3044a1c0df7e54 100644
(file)
--- a/
connect.c
+++ b/
connect.c
@@
-529,7
+529,7
@@
static void git_tcp_connect(int fd[2], char *host)
int sockfd = git_tcp_connect_sock(host);
fd[0] = sockfd;
- fd[1] =
sockfd
;
+ fd[1] =
dup(sockfd)
;
}