diff --git a/nread.c b/nread.c index aef16227..db5e3436 100644 --- a/nread.c +++ b/nread.c @@ -241,7 +241,6 @@ extern VerifyChannel(mkChannel *self); /* defined in network.c */ { return 1; } - /* iRet is now the number of bytes read. Now we check for command interrupts */ 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 */ - if(pEnd != pPtr && strlen(pEnd) > 0) + if(pEnd != pPtr && strlen(pPtr) > 0) { strcpy(pItem->pHold,pPtr); }