X-Git-Url: http://www.privoxy.org/gitweb/show-status?a=blobdiff_plain;f=gateway.c;h=a842c07dec2e61205f24451178e1d31025ca9c26;hb=1603ca22d9a21bc6f0a181994e6971fd62cd3697;hp=3890b015c1946e5c7cdba9c4dcf67d2957a5fd71;hpb=1eedfdcf8a3eb49bf78307a1bf5e2555800eb5a8;p=privoxy.git diff --git a/gateway.c b/gateway.c index 3890b015..a842c07d 100644 --- a/gateway.c +++ b/gateway.c @@ -1391,13 +1391,13 @@ static jb_socket socks5_connect(const struct forward_spec *fwd, if (client_headers == NULL) { - log_error(LOG_LEVEL_FATAL, "Out of memory rebuilding client headers"); + log_error(LOG_LEVEL_FATAL, "Out of memory rebuilding client headers."); } list_remove_all(csp->headers); header_length= strlen(client_headers); log_error(LOG_LEVEL_CONNECT, - "Optimistically sending %lu bytes of client headers intended for %s", + "Optimistically sending %lu bytes of client headers intended for %s.", header_length, csp->http->hostport); if (write_socket(sfd, client_headers, header_length)) @@ -1413,7 +1413,7 @@ static jb_socket socks5_connect(const struct forward_spec *fwd, unsigned long long buffered_request_bytes = (unsigned long long)(csp->client_iob->eod - csp->client_iob->cur); log_error(LOG_LEVEL_CONNECT, - "Optimistically sending %llu bytes of client body. Expected %llu", + "Optimistically sending %llu bytes of client body. Expected %llu.", csp->expected_client_content_length, buffered_request_bytes); assert(csp->expected_client_content_length == buffered_request_bytes); if (write_socket(sfd, csp->client_iob->cur, buffered_request_bytes))