httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1675534 - /httpd/httpd/trunk/modules/loggers/mod_log_config.c
Date Thu, 23 Apr 2015 03:18:52 GMT
Author: breser
Date: Thu Apr 23 03:18:52 2015
New Revision: 1675534

URL: http://svn.apache.org/r1675534
Log:
mod_log_config: Fix a bug introduced by r1674261, when using a log provider
the return of ap_default_log_writer was an uninitialized variable.

Modified:
    httpd/httpd/trunk/modules/loggers/mod_log_config.c

Modified: httpd/httpd/trunk/modules/loggers/mod_log_config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_log_config.c?rev=1675534&r1=1675533&r2=1675534&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/loggers/mod_log_config.c (original)
+++ httpd/httpd/trunk/modules/loggers/mod_log_config.c Thu Apr 23 03:18:52 2015
@@ -1668,8 +1668,8 @@ static apr_status_t ap_default_log_write
         info.using_provider = 1;
         info.startup       = 0;
         info.format        = "";
-        data->provider->writer(&info, data->handle,
-                                str, len);
+        rv = data->provider->writer(&info, data->handle,
+                                    str, len);
     }
 
     return rv;



Mime
View raw message