X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=ssl_common.c;h=41f05757960f2a58a3ce6fc3adcfd42e845ff6b7;hp=6ad59241c3a87ac02dfb91fb1ca2ead0be163be0;hb=ad74921fd9f286069c02130bae18a3f95422b10b;hpb=74f84988126c9680e5e05513a42016f0dbe6c185 diff --git a/ssl_common.c b/ssl_common.c index 6ad59241..41f05757 100644 --- a/ssl_common.c +++ b/ssl_common.c @@ -407,13 +407,13 @@ extern void ssl_send_certificate_error(struct client_state *csp) /* * Sending final message to client */ - ssl_send_data(ssl_attr, (const unsigned char *)message, strlen(message)); + (void)ssl_send_data(ssl_attr, (const unsigned char *)message, strlen(message)); free_certificate_chain(csp); log_error(LOG_LEVEL_CRUNCH, "Certificate error: %s: https://%s%s", reason, csp->http->hostport, csp->http->path); - log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s https://%s%s %s\" 200 %u", + log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s https://%s%s %s\" 200 %lu", csp->ip_addr_str, csp->http->gpc, csp->http->hostport, csp->http->path, csp->http->version, message_len-head_length);