X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=jcc.c;h=54b0b2d3ac31f7848fa74a1d4189a4e4f2251ea0;hb=ea453e40281809c7e6f4bdfcc9c46969289226cf;hp=5ddf1842ca74baaba06dde300b02a9aa951bcf20;hpb=fc9b885ff6c905f0a61e45fb90b4e763577af81d;p=privoxy.git diff --git a/jcc.c b/jcc.c index 5ddf1842..54b0b2d3 100644 --- a/jcc.c +++ b/jcc.c @@ -2080,12 +2080,13 @@ static int read_http_request_body(struct client_state *csp) if (to_read != 0) { - log_error(LOG_LEVEL_CONNECT, "Not enough request body has been read: expected %llu more bytes", - csp->expected_client_content_length); + log_error(LOG_LEVEL_CONNECT, + "Not enough request body has been read: expected %lu more bytes", + to_read); return 1; } - log_error(LOG_LEVEL_CONNECT, "The last %llu bytes of the request body have been read", - csp->expected_client_content_length); + log_error(LOG_LEVEL_CONNECT, + "The last %d bytes of the request body have been read", len); return 0; } @@ -2872,7 +2873,7 @@ static jb_err process_encrypted_request_headers(struct client_state *csp) return JB_ERR_PARSE; } - log_error(LOG_LEVEL_HEADER, "Encrypted request processed"); + log_error(LOG_LEVEL_HEADER, "Encrypted request headers processed"); log_error(LOG_LEVEL_REQUEST, "https://%s%s", csp->http->hostport, csp->http->path);