]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
Use >%s< when logging bad proxy responses.
authorSimon Ruderich <simon@ruderich.org>
Sat, 10 Aug 2013 10:59:54 +0000 (12:59 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 10 Aug 2013 10:59:54 +0000 (12:59 +0200)
src/connection.c

index 507a18d1c54ad000578f1f5c06344a5336b57b70..4a9b40d4af51d5e2e3347fd3cdbbcf279b79c565 100644 (file)
@@ -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;
         }