Revert YAZ-830 fix (hack)
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 12 May 2015 13:54:28 +0000 (15:54 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 12 May 2015 13:54:28 +0000 (15:54 +0200)
The YAZ-833 fix is better

src/tcpip.c

index f679637..a8f03ba 100644 (file)
@@ -1291,7 +1291,6 @@ 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)
     {