Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../
[gitweb.git]
/
pkt-line.c
diff --git
a/pkt-line.c
b/pkt-line.c
index bd603f8721704305c2ce4608a09df38ed4bc55a0..295ba2b16c8675d8c5c5d0a5ee6e61e044ce99dd 100644
(file)
--- a/
pkt-line.c
+++ b/
pkt-line.c
@@
-129,7
+129,7
@@
int packet_read_line(int fd, char *buffer, unsigned size)
safe_read(fd, linelen, 4);
len = packet_length(linelen);
if (len < 0)
- die("protocol error: bad line length character
"
);
+ die("protocol error: bad line length character
: %.4s", linelen
);
if (!len)
return 0;
len -= 4;