summaryrefslogtreecommitdiff
path: root/modules/loggers
diff options
context:
space:
mode:
authorBen Reser <breser@apache.org>2015-04-23 03:18:52 +0000
committerBen Reser <breser@apache.org>2015-04-23 03:18:52 +0000
commitba2b695cdeabe68c56ee67e6b0ecafc75c6bbb50 (patch)
tree61d170998f287b0ccf2234f8837a6526873e5100 /modules/loggers
parentca8f9495c7350e1b214d3083ca0dbf8ab0545f41 (diff)
downloadhttpd-ba2b695cdeabe68c56ee67e6b0ecafc75c6bbb50.tar.gz
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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1675534 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/loggers')
-rw-r--r--modules/loggers/mod_log_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c
index 54e4be9a2c..76e3d65618 100644
--- a/modules/loggers/mod_log_config.c
+++ b/modules/loggers/mod_log_config.c
@@ -1668,8 +1668,8 @@ static apr_status_t ap_default_log_writer( request_rec *r,
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;