From: Wilfried Goesgens Date: Sun, 17 Feb 2013 19:41:29 +0000 (+0100) Subject: read will return 0 if select wouldn't have been successfull. X-Git-Tag: v8.20~99 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=a2c510d273463d183475559480e1546fa1efccc3 read will return 0 if select wouldn't have been successfull. --- diff --git a/libcitadel/lib/stringbuf.c b/libcitadel/lib/stringbuf.c index ab9a18148..103377bba 100644 --- a/libcitadel/lib/stringbuf.c +++ b/libcitadel/lib/stringbuf.c @@ -4561,6 +4561,10 @@ int StrBufTCP_read_buffered_line_fast(StrBuf *Line, continue; } + else + { + nSuccessLess++; + } } *Pos = NULL; if (pLF != NULL) {