src/server/util/netbuf.c

changeset 540
d9c3c23c635b
parent 330
71b652743871
--- a/src/server/util/netbuf.c	Wed Jul 10 23:04:58 2024 +0200
+++ b/src/server/util/netbuf.c	Sun Aug 11 10:09:20 2024 +0200
@@ -141,8 +141,6 @@
 
             buf->pos += bytes_in_buffer;
             return bytes_in_buffer;
-        } else if(buf->pos >= buf->maxsize) {
-            return NETBUF_EOF;
         }
     }
     

mercurial