diff --git a/src/rpc/src/tudp.c b/src/rpc/src/tudp.c index db3e5e81c43754abe46cd907463737ceeb2b1116..2de42e235934a9a270c163b6d022e20b45067f5e 100644 --- a/src/rpc/src/tudp.c +++ b/src/rpc/src/tudp.c @@ -481,7 +481,8 @@ void *taosInitUdpConnection(char *ip, uint16_t port, char *label, int threads, v sprintf(udplabel, "%s.b", label); pSet->tmrCtrl = taosTmrInit(RPC_MAX_UDP_CONNS * threads, 5, 5000, udplabel); if (pSet->tmrCtrl == NULL) { - tError("%s failed to initialize tmrCtrl") taosCleanUpUdpConnection(pSet); + tError("%s failed to initialize tmrCtrl", label); + taosCleanUpUdpConnection(pSet); return NULL; } // }