From 073a678e656f02d76ddbd5592600abf94d943ea7 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 31 Mar 2015 11:55:00 +0200 Subject: [PATCH] Fix tcpip.c compilation failure on VC9 YAZ-835 --- src/tcpip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4