httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1060072 - /httpd/httpd/trunk/modules/metadata/mod_setenvif.c
Date Mon, 17 Jan 2011 20:14:54 GMT
Author: sf
Date: Mon Jan 17 20:14:54 2011
New Revision: 1060072

URL: http://svn.apache.org/viewvc?rev=1060072&view=rev
Log:
Fix segfault for loglevel >= trace2

Modified:
    httpd/httpd/trunk/modules/metadata/mod_setenvif.c

Modified: httpd/httpd/trunk/modules/metadata/mod_setenvif.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/metadata/mod_setenvif.c?rev=1060072&r1=1060071&r2=1060072&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/metadata/mod_setenvif.c (original)
+++ httpd/httpd/trunk/modules/metadata/mod_setenvif.c Mon Jan 17 20:14:54 2011
@@ -677,12 +677,8 @@ static int match_headers(request_rec *r)
                                        elts[j].val);
                     }
                 }
-            }
-            if (APLOGrtrace2(r)) {
-                ap_log_rerror(APLOG_MARK, APLOG_TRACE2, 0, r,
-                              "Setting envvar(s): %s",
-                              apr_array_pstrcat(r->pool, arr, ' '));
-
+                ap_log_rerror(APLOG_MARK, APLOG_TRACE2, 0, r, "Setting %s",
+                              elts[j].key);
             }
         }
     }



Mime
View raw message