This commit is contained in:
zolliker
2012-06-18 13:37:11 +00:00
parent ee6c52450e
commit 6c69b59fce
3 changed files with 42 additions and 168 deletions

View File

@@ -173,7 +173,7 @@ int CocCreateSockAdr(
}
char* readWrite(int tmo, int skip, char *find) {
int lbuf, go, iret, n, shortTmo, l, socket;
int lbuf, go, n, shortTmo, l, socket;
Mode idx;
char *msg, *p, *q;
char chr;
@@ -283,7 +283,7 @@ char* readWrite(int tmo, int skip, char *find) {
shortTmo = 0;
}
fflush(stdout);
if (iret==0) laststat=0;
if (result==NULL) laststat=0;
return result;
OnError: return NULL;
}