- changed select to uselect

- some fixes in tecs.c
This commit is contained in:
zolliker
2008-10-16 14:33:25 +00:00
parent 5cb057f645
commit d239d98edb
12 changed files with 50 additions and 17 deletions

View File

@@ -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);