From 8dca05812ee2431518647e815f608adb58d82f21 Mon Sep 17 00:00:00 2001 From: "aleksei.voronin" <aleksei.voronin@demlabs.net> Date: Thu, 14 May 2020 13:39:39 +0300 Subject: [PATCH] [*] small logging improvement --- dap-sdk/net/client/dap_client_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dap-sdk/net/client/dap_client_http.c b/dap-sdk/net/client/dap_client_http.c index e9dbec618e..2371d6cd58 100644 --- a/dap-sdk/net/client/dap_client_http.c +++ b/dap-sdk/net/client/dap_client_http.c @@ -383,8 +383,8 @@ void* dap_client_http_request_custom(const char *a_uplink_addr, uint16_t a_uplin dap_events_socket_create_after(l_ev_socket); } else { - log_it(L_ERROR, "Remote address can't connected (%s:%u) with sock_id %d err=%d", a_uplink_addr, a_uplink_port, - l_socket, errno); + log_it(L_ERROR, "Remote address can't connected (%s:%u) with sock_id %d err: %s", a_uplink_addr, a_uplink_port, + l_socket, strerror(errno)); //l_ev_socket->no_close = false; dap_events_socket_kill_socket(l_ev_socket); //shutdown(l_ev_socket->socket, SHUT_RDWR); -- GitLab