set err_no to 0 when success

pull/37/head
yuqing 2018-05-10 11:35:56 +08:00
parent 1c0ebb1433
commit 5416c29a27
1 changed files with 1 additions and 0 deletions

View File

@ -282,6 +282,7 @@ ConnectionInfo *conn_pool_get_connection(ConnectionPool *cp,
"total_count: %d, free_count: %d", "total_count: %d, free_count: %d",
__LINE__, conn->ip_addr, conn->port, __LINE__, conn->ip_addr, conn->port,
ci->sock, cm->total_count, cm->free_count); ci->sock, cm->total_count, cm->free_count);
*err_no = 0;
return ci; return ci;
} }
} }