Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sd/branch-copy'
[gitweb.git]
/
pkt-line.c
diff --git
a/pkt-line.c
b/pkt-line.c
index 647bbd3bceda71f15fdf137a37f3fa53e6fa6d86..93ea311443a37b81b85a72dc569c715417d7ef29 100644
(file)
--- a/
pkt-line.c
+++ b/
pkt-line.c
@@
-258,7
+258,7
@@
static int get_packet_data(int fd, char **src_buf, size_t *src_size,
}
/* And complain if we didn't get enough bytes to satisfy the read. */
- if (ret
<
size) {
+ if (ret
!=
size) {
if (options & PACKET_READ_GENTLE_ON_EOF)
return -1;