Commit eb324668 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

ignore APLOG_NOERRNO; note that it is deprecated


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95148 13f79535-47bb-0310-9956-ffa450edef68
parent 420565fe
Loading
Loading
Loading
Loading
+4 −0
Changes for CHANGES: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
Changes with Apache 2.0.37
  *) The APLOG_NOERRNO flag to ap_log_[r]error() is now deprecated.
     It is currently ignored and it will be removed in a future release
     of Apache.  [Jeff Trawick]
  *) Removed documentation references to the no-longer-supported
     "make certificate" feature of mod_ssl for Apache 1.3.x.  Test
     certificates, if truly desired, can be generated using openssl
+3 −0
Changes for include/http_log.h: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -102,6 +102,9 @@ extern "C" {

#endif

/* APLOG_NOERRNO is ignored and should not be used.  It will be
 * removed in a future release of Apache.
 */
#define APLOG_NOERRNO		(APLOG_LEVELMASK + 1)

/* Use APLOG_TOCLIENT to cause ap_log_rerror() to send the message
+1 −1
Changes for server/log.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -491,7 +491,7 @@ static void log_error_core(const char *file, int line, int level,
        len += apr_snprintf(errstr + len, MAX_STRING_LEN - len,
                            "[client %s] ", r->connection->remote_ip);
    }
    if (!(level & APLOG_NOERRNO) && (status != 0)) {
    if (status != 0) {
        char buf[120];
        len += apr_snprintf(errstr + len, MAX_STRING_LEN - len,
                            "(%d)%s: ", status,