Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pkt-line: teach packet_read_line to chomp newlines
[gitweb.git]
/
sideband.c
diff --git
a/sideband.c
b/sideband.c
index 8f7b25bf7915ec80d55d8a9f6fa6a8953b495204..15cc1aec22115a9f0d41d9e06e29184f64f1a86a 100644
(file)
--- a/
sideband.c
+++ b/
sideband.c
@@
-38,7
+38,7
@@
int recv_sideband(const char *me, int in_stream, int out)
while (1) {
int band, len;
- len = packet_read
_line(in_stream, buf + pf, LARGE_PACKET_MAX
);
+ len = packet_read
(in_stream, buf + pf, LARGE_PACKET_MAX, 0
);
if (len == 0)
break;
if (len < 1) {