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=b4fbd9183da0f50b627b781a20a9eb8062227af0;hp=bea92dfc6f4410425240f76ea8e153588c697372;hb=1aa95d94a0084a5528b97807033b4833e8c201c4;hpb=20c28e99eaa71d4b73e8c03c8cfaf23653948da7 diff --git a/src/tcpip.c b/src/tcpip.c index bea92df..b4fbd91 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -1289,6 +1289,7 @@ int tcpip_put(COMSTACK h, char *buf, int size) { state->towrite = size; state->written = 0; + state->altlen = 0; /* reset input buf in case of excess bytes YAZ-830 */ } else if (state->towrite != size) {