]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
Use >%s< when logging bad requests.
authorSimon Ruderich <simon@ruderich.org>
Thu, 8 Aug 2013 19:07:40 +0000 (21:07 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 8 Aug 2013 19:07:40 +0000 (21:07 +0200)
src/connection.c

index abd89758c463c5399ce1a51f0672442d269b201c..3254982b32b22f6dc2b2bf0c8dfcdece12fcc7cb 100644 (file)
@@ -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;
     }