From f7b1d8eb6ee068e7562553c00cd9998300ee5311 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 8 Aug 2013 21:07:40 +0200 Subject: [PATCH 1/1] Use >%s< when logging bad requests. --- src/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.45.2