Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge in 1.6.5.4
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index 69eaf58dfe2be1a73b2c94ee9e33a678f1fb4f3e..a331bae6c8e95042dc2d136fdc1ef6b3d4463c53 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-307,7
+307,7
@@
static size_t rpc_out(void *ptr, size_t eltsize,
rpc->len = avail;
}
- if (max < avail)
;
+ if (max < avail)
avail = max;
memcpy(ptr, rpc->buf + rpc->pos, avail);
rpc->pos += avail;