git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48505c2
)
DCC: fix loop expression
author
Jeremy Harris
<jgh146exb@wizmail.org>
Tue, 14 Sep 2021 13:21:47 +0000
(14:21 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Tue, 14 Sep 2021 13:21:47 +0000
(14:21 +0100)
src/src/dcc.c
patch
|
blob
|
history
diff --git
a/src/src/dcc.c
b/src/src/dcc.c
index fe2e1340fc8c470003a0ba7161857dbd94b928c0..fb32fef6af266d3e32ab2be4bb42bd50bfaa3f11 100644
(file)
--- a/
src/src/dcc.c
+++ b/
src/src/dcc.c
@@
-333,7
+333,7
@@
while((dcc_resplen = read(sockfd, big_buffer, big_buffer_size-1)) > 0)
"DCC: -----------------------------------\n", dcc_resplen, dcc_resplen, big_buffer);
/* Now let's read each character and see what we've got */
- for(bufoffset = 0; bufoffset < dcc_resplen
,
line <= 2; bufoffset++)
+ for(bufoffset = 0; bufoffset < dcc_resplen
&&
line <= 2; bufoffset++)
{
/* First check if we reached the end of the line and
then increment the line counter */