From 62b423b15f16a63b66a7bfdb442b4e7bc0c8781c Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Wed, 20 Dec 2017 16:42:42 +0000 Subject: mod_dumpio: follow up to r1818802. Negate APLOGctrace7(c) test! Also, return DECLINED when nothing is to be done, same result as OK but possibly more semantically correct. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1818825 13f79535-47bb-0310-9956-ffa450edef68 --- modules/debugging/mod_dumpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/debugging/mod_dumpio.c b/modules/debugging/mod_dumpio.c index 58f72a551d..8a3386012a 100644 --- a/modules/debugging/mod_dumpio.c +++ b/modules/debugging/mod_dumpio.c @@ -181,9 +181,9 @@ static int dumpio_pre_conn(conn_rec *c, void *csd) { dumpio_conf_t *ptr; - if (APLOGctrace7(c)) { + if (!APLOGctrace7(c)) { /* Nothing to do below TRACE7 */ - return OK; + return DECLINED; } ptr = (dumpio_conf_t *) ap_get_module_config(c->base_server->module_config, -- cgit v1.2.3