diff options
Diffstat (limited to 'src/tools/tor-resolve.c')
-rw-r--r-- | src/tools/tor-resolve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c index 6fabd5d337..c23a463ed7 100644 --- a/src/tools/tor-resolve.c +++ b/src/tools/tor-resolve.c @@ -41,8 +41,8 @@ #define RESPONSE_LEN_4 8 #define log_sock_error(act, _s) \ - do { log_fn(LOG_ERR, LD_NET, "Error while %s: %s", act, \ - tor_socket_strerror(tor_socket_errno(_s))); } while (0) + STMT_BEGIN log_fn(LOG_ERR, LD_NET, "Error while %s: %s", act, \ + tor_socket_strerror(tor_socket_errno(_s))); STMT_END static void usage(void) ATTR_NORETURN; |