New TECS Version Sept. 2001 M.Z.
This commit is contained in:
@@ -182,7 +182,7 @@ char *SerCmd(SerChannel *serch, char *cmnd) {
|
||||
/* Wait for an event on tser->fd or a timeout tmo */
|
||||
iret=tser->idleHdl(tser->tmo, tser->fd);
|
||||
if (iret==0) {
|
||||
if (result==NULL) ERR_MSG("time out");
|
||||
if (result==NULL) ERR_MSG("timeout");
|
||||
ERR_MSG("missing terminator");
|
||||
}
|
||||
ERR_SI(l=recv(tser->fd, pos, n, 0));
|
||||
|
||||
Reference in New Issue
Block a user