You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gb...@apache.org on 2020/02/27 06:59:11 UTC

svn commit: r1874558 - in /httpd/httpd/trunk/modules/filters: mod_brotli.c mod_deflate.c

Author: gbechis
Date: Thu Feb 27 06:59:10 2020
New Revision: 1874558

URL: http://svn.apache.org/viewvc?rev=1874558&view=rev
Log:
"?:" is a GNU extension, use standard syntax
spotted by Christophe Jaillet

Modified:
    httpd/httpd/trunk/modules/filters/mod_brotli.c
    httpd/httpd/trunk/modules/filters/mod_deflate.c

Modified: httpd/httpd/trunk/modules/filters/mod_brotli.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_brotli.c?rev=1874558&r1=1874557&r2=1874558&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_brotli.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_brotli.c Thu Feb 27 06:59:10 2020
@@ -419,7 +419,7 @@ static apr_status_t compress_filter(ap_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 */

Modified: httpd/httpd/trunk/modules/filters/mod_deflate.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_deflate.c?rev=1874558&r1=1874557&r2=1874558&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Thu Feb 27 06:59:10 2020
@@ -770,7 +770,7 @@ static apr_status_t deflate_out_filter(a
                 }
                 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 */