From: Jeff Trawick Date: Wed, 9 Feb 2005 19:01:43 +0000 (+0000) Subject: Remove formatting characters from ap_log_error() calls. These X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa4ad00feab5fa0a2d7f205602752b83364a57d6;p=thirdparty%2Fapache%2Fhttpd.git Remove formatting characters from ap_log_error() calls. These were escaped as fallout from CAN-2003-0020. Submitted by: Eric Covener Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@153105 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_kernel.c b/ssl_engine_kernel.c index 1fe1b3b0cbb..349d9b1f8b8 100644 --- a/ssl_engine_kernel.c +++ b/ssl_engine_kernel.c @@ -563,7 +563,7 @@ int ssl_hook_Access(request_rec *r) if (renegotiate && !renegotiate_quick && (r->method_number == M_POST)) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, "SSL Re-negotiation in conjunction " - "with POST method not supported!\n" + "with POST method not supported! " "hint: try SSLOptions +OptRenegotiate"); return HTTP_METHOD_NOT_ALLOWED; @@ -1818,7 +1818,7 @@ void ssl_callback_LogTracingState(MODSSL_INFO_CB_ARG_TYPE ssl, int where, int rc else if (where & SSL_CB_ALERT) { char *str = (where & SSL_CB_READ) ? "read" : "write"; ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, - "%s: Alert: %s:%s:%s\n", + "%s: Alert: %s:%s:%s", SSL_LIBRARY_NAME, str, SSL_alert_type_string_long(rc), SSL_alert_desc_string_long(rc));