bugfix in NetReadRead M.Z.
This commit is contained in:
3
nread.c
3
nread.c
@ -241,7 +241,6 @@ extern VerifyChannel(mkChannel *self); /* defined in network.c */
|
|||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* iRet is now the number of bytes read. Now we check for command
|
/* iRet is now the number of bytes read. Now we check for command
|
||||||
interrupts */
|
interrupts */
|
||||||
pPtr = strstr(pBuffer,"INT1712");
|
pPtr = strstr(pBuffer,"INT1712");
|
||||||
@ -327,7 +326,7 @@ extern VerifyChannel(mkChannel *self); /* defined in network.c */
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* when we are here we may still have an incomplete command pending */
|
/* when we are here we may still have an incomplete command pending */
|
||||||
if(pEnd != pPtr && strlen(pEnd) > 0)
|
if(pEnd != pPtr && strlen(pPtr) > 0)
|
||||||
{
|
{
|
||||||
strcpy(pItem->pHold,pPtr);
|
strcpy(pItem->pHold,pPtr);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user