handle except
This commit is contained in:
parent
62700c1f13
commit
31bf003dd2
|
@ -123,16 +123,16 @@ static void destroyThrdObj(SCliThrdObj* pThrd);
|
|||
do { \
|
||||
if (thrd->quit) { \
|
||||
clientHandleExcept(conn); \
|
||||
goto _RETURE; \
|
||||
} \
|
||||
goto _RETURE; \
|
||||
} while (0)
|
||||
|
||||
#define CONN_HANDLE_BROKEN(conn) \
|
||||
do { \
|
||||
if (conn->broken) { \
|
||||
clientHandleExcept(conn); \
|
||||
goto _RETURE; \
|
||||
} \
|
||||
goto _RETURE; \
|
||||
} while (0);
|
||||
|
||||
static void* clientThread(void* arg);
|
||||
|
|
Loading…
Reference in New Issue