fix connection log cate

This commit is contained in:
fengzero
2022-12-06 02:37:26 +00:00
parent f486e4e53f
commit 50e32eba86
+1 -1
View File
@@ -589,7 +589,7 @@ static void conn_connect(neu_conn_t *conn)
sizeof(struct sockaddr_in));
if (ret != 0 && errno != EINPROGRESS) {
close(fd);
zlog_error(neuron, "connect %s:%d error: %s(%d)",
zlog_error(conn->param.log, "connect %s:%d error: %s(%d)",
conn->param.params.tcp_client.ip,
conn->param.params.tcp_client.port, strerror(errno),
errno);