From a2c510d273463d183475559480e1546fa1efccc3 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 17 Feb 2013 20:41:29 +0100 Subject: [PATCH] read will return 0 if select wouldn't have been successfull. --- libcitadel/lib/stringbuf.c | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.30.2