X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftcpip.c;h=4f4fd481ebc882d283fb38c1f8ae2eb11c465cf5;hb=67791b7efdc55585d77c3889699c9fe155a9abe6;hp=b4fbd9183da0f50b627b781a20a9eb8062227af0;hpb=1aa95d94a0084a5528b97807033b4833e8c201c4;p=yaz-moved-to-github.git diff --git a/src/tcpip.c b/src/tcpip.c index b4fbd91..4f4fd48 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -1228,10 +1228,10 @@ int tcpip_get(COMSTACK h, char **buf, int *bufsize) h->cerrno = CSYSERR; return -1; } +#endif } else if (!res) return hasread; -#endif } hasread += res; if (hasread > h->max_recv_bytes)