From: Simon Ruderich Date: Sat, 10 Aug 2013 10:59:54 +0000 (+0200) Subject: Use >%s< when logging bad proxy responses. X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=commitdiff_plain;h=d591fce15342d7998fcd77c2b282ee2cfc5dfa22 Use >%s< when logging bad proxy responses. --- diff --git a/src/connection.c b/src/connection.c index 507a18d..4a9b40d 100644 --- a/src/connection.c +++ b/src/connection.c @@ -192,7 +192,7 @@ void handle_connection(int client_socket) { /* Check response of proxy server. */ if (strncmp(buffer, "HTTP/1.0 200", 12)) { - LOG(WARNING, "bad proxy response: %s", buffer); + LOG(WARNING, "bad proxy response: >%s<", buffer); send_forwarding_failure(client_fd_write); goto out; }