]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/connection.c
Use >%s< when logging bad proxy responses.
[tlsproxy/tlsproxy.git] / 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;
         }