Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/maint-send-pack-stateless-rpc-deadlock-fix'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 20 May 2011 03:37:19 +0000
(20:37 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 20 May 2011 03:37:19 +0000
(20:37 -0700)
* js/maint-send-pack-stateless-rpc-deadlock-fix:
sideband_demux(): fix decl-after-stmt
builtin/send-pack.c
patch
|
blob
|
history
raw
(from parent 1:
6699c95
)
diff --git
a/builtin/send-pack.c
b/builtin/send-pack.c
index 4ac2ca984ff36588c68274f10f131ef88023d622..e6a3495e1ce8f3ae635fbf53419798ac510791d4 100644
(file)
--- a/
builtin/send-pack.c
+++ b/
builtin/send-pack.c
@@
-228,11
+228,11
@@
static void print_helper_status(struct ref *ref)
static int sideband_demux(int in, int out, void *data)
{
- int *fd = data;
+ int *fd = data
, ret
;
#ifdef NO_PTHREADS
close(fd[1]);
#endif
-
int
ret = recv_sideband("send-pack", fd[0], out);
+ ret = recv_sideband("send-pack", fd[0], out);
close(out);
return ret;
}