Close #169 修正写日志时传入错误日志句柄指针的问题。

This commit is contained in:
luqiuwen
2019-09-19 13:18:27 +08:00
committed by 陆秋文
parent 5e8f3dc80d
commit b513814fe3

View File

@@ -127,7 +127,7 @@ static void watchdog_kni_eventcb(struct bufferevent *bev, short what, void *ctx)
struct watchdog_kni * __ctx = (struct watchdog_kni *)ctx;
if (what & BEV_EVENT_CONNECTED)
{
TFE_LOG_INFO(__ctx->bev, "KNI watchdog connection is established.");
TFE_LOG_INFO(__ctx->logger, "KNI watchdog connection is established.");
__ctx->conn_state = CONN_STATE_CONNECTED;
__ctx->retry_times = 0;