From 31bf003dd24482e3e5169419e83a0daca7b66c8d Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Fri, 11 Mar 2022 22:00:56 +0800 Subject: [PATCH] handle except --- source/libs/transport/src/transCli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/transport/src/transCli.c b/source/libs/transport/src/transCli.c index c2d5feccaf..834337d0ff 100644 --- a/source/libs/transport/src/transCli.c +++ b/source/libs/transport/src/transCli.c @@ -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);