提交 118f1e2e 编写于 作者: Y YuQing

correct printf format for port

上级 7d551268
......@@ -175,7 +175,7 @@ int conn_pool_async_connect_server_ex(ConnectionInfo *conn,
static inline void conn_pool_get_key(const ConnectionInfo *conn, char *key, int *key_len)
{
*key_len = sprintf(key, "%s_%d", conn->ip_addr, conn->port);
*key_len = sprintf(key, "%s_%u", conn->ip_addr, conn->port);
}
ConnectionInfo *conn_pool_get_connection(ConnectionPool *cp,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册