From 17e6e1d303fc58825366a3af47eb3c3728517ec1 Mon Sep 17 00:00:00 2001 From: hzcheng Date: Sat, 4 Apr 2020 05:42:51 +0000 Subject: [PATCH] fix breakpoint coredump --- src/rpc/src/rpcMain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/src/rpcMain.c b/src/rpc/src/rpcMain.c index 3e83293a2f..8dbbb97a1a 100755 --- a/src/rpc/src/rpcMain.c +++ b/src/rpc/src/rpcMain.c @@ -840,7 +840,7 @@ static void rpcProcessBrokenLink(SRpcConn *pConn) { rpcMsg.handle = pConn; rpcMsg.msgType = pConn->inType; rpcMsg.code = TSDB_CODE_NETWORK_UNAVAIL; - (*(pRpc->cfp))(&rpcMsg); + // (*(pRpc->cfp))(&rpcMsg); } rpcCloseConn(pConn); @@ -1169,7 +1169,7 @@ static void rpcProcessIdleTimer(void *param, void *tmrId) { rpcMsg.handle = pConn; rpcMsg.msgType = pConn->inType; rpcMsg.code = TSDB_CODE_NETWORK_UNAVAIL; - (*(pRpc->cfp))(&rpcMsg); + // (*(pRpc->cfp))(&rpcMsg); } rpcCloseConn(pConn); } else { -- GitLab