X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftcpip.c;fp=src%2Ftcpip.c;h=4f4fd481ebc882d283fb38c1f8ae2eb11c465cf5;hp=b4fbd9183da0f50b627b781a20a9eb8062227af0;hb=073a678e656f02d76ddbd5592600abf94d943ea7;hpb=eeee03de7fb33d03727696236aafd65b0e36e068 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)