- changed select to uselect
- some fixes in tecs.c
This commit is contained in:
@@ -172,7 +172,7 @@ int CocCmdWithRetry(CocConn *conn) {
|
||||
}
|
||||
iret=CocTryCmd(conn);
|
||||
if (iret>=0) break;
|
||||
close(conn->fd);
|
||||
if (conn->fd > 0) close(conn->fd);
|
||||
conn->fd=-1;
|
||||
if (iret==-1) goto OnError; /* severe error */
|
||||
ErrShort(ErrMessage);
|
||||
|
||||
Reference in New Issue
Block a user