]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
"?:" is a GNU extension, use standard syntax
authorGiovanni Bechis <gbechis@apache.org>
Thu, 27 Feb 2020 06:59:10 +0000 (06:59 +0000)
committerGiovanni Bechis <gbechis@apache.org>
Thu, 27 Feb 2020 06:59:10 +0000 (06:59 +0000)
spotted by Christophe Jaillet

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874558 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_brotli.c
modules/filters/mod_deflate.c

index a47684c68f3e3c91120fdb60df6533324ff93163..0f7d770b6705fa485270c563b8a145f9f6e024b9 100644 (file)
@@ -419,7 +419,7 @@ static apr_status_t compress_filter(ap_filter_t *f, apr_bucket_brigade *bb)
             }
             q = ap_get_token(r->pool, &accepts, 1);
             ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r,
-                          "token: '%s' - q: '%s'", token ?: "NULL", q);
+                          "token: '%s' - q: '%s'", token ? token : "NULL", q);
         }
 
         /* No acceptable token found or q=0 */
index fc2531a68403f34dfe7c3667804c52be264c1391..1c09df1f68304044b0914c07e5a1c8524a7e56ff 100644 (file)
@@ -770,7 +770,7 @@ static apr_status_t deflate_out_filter(ap_filter_t *f,
                 }
                 q = ap_get_token(r->pool, &accepts, 1);
                 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r,
-                              "token: '%s' - q: '%s'", token ?: "NULL", q);
+                              "token: '%s' - q: '%s'", token ? token : "NULL", q);
             }
 
             /* No acceptable token found or q=0 */