diff --git a/src/rpc/src/tudp.c b/src/rpc/src/tudp.c index 82d4e420e41f72a0ee84b3134b338497b99fa972..1b8fd14b805271bee996503c978121d58de35dae 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; } // }