From: Simon Ruderich Date: Thu, 8 Aug 2013 19:07:40 +0000 (+0200) Subject: Use >%s< when logging bad requests. X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=commitdiff_plain;h=f7b1d8eb6ee068e7562553c00cd9998300ee5311 Use >%s< when logging bad requests. --- diff --git a/src/connection.c b/src/connection.c index abd8975..3254982 100644 --- a/src/connection.c +++ b/src/connection.c @@ -144,7 +144,7 @@ void handle_connection(int client_socket) { } if (parse_request(buffer, host, port, &version_minor) != 0) { - LOG(WARNING, "bad request: %s", buffer); + LOG(WARNING, "bad request: >%s<", buffer); send_bad_request(client_fd_write); goto out; }