Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
csum-file: refactor finalize_hashfile() method
[gitweb.git]
/
pkt-line.c
diff --git
a/pkt-line.c
b/pkt-line.c
index 7006b35879529f5f1a26cb5b6a628fe28aebe6a7..2827ca772a3703f71bc588d0f6cacd5caa318fe7 100644
(file)
--- a/
pkt-line.c
+++ b/
pkt-line.c
@@
-264,7
+264,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;