From: Adam Dickmeiss Date: Tue, 31 Mar 2015 09:55:00 +0000 (+0200) Subject: Fix tcpip.c compilation failure on VC9 YAZ-835 X-Git-Tag: v5.11.0~3 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=073a678e656f02d76ddbd5592600abf94d943ea7;p=yaz-moved-to-github.git Fix tcpip.c compilation failure on VC9 YAZ-835 --- 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)