Hi,

I have 2 errors when compile on fedora31 with configure --enable-maintainer-mod. Attached a possible patch, comments?

--
Cheers

Jean-Frederic
Index: modules/filters/mod_brotli.c
===================================================================
--- modules/filters/mod_brotli.c        (revision 1874543)
+++ modules/filters/mod_brotli.c        (working copy)
@@ -419,7 +419,7 @@
             }
             q = ap_get_token(r->pool, &accepts, 1);
             ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r,
-                          "token: '%s' - q: '%s'", token, q);
+                          "token: '%s' - q: '%s'", token ? token : "", q);
         }
 
         /* No acceptable token found or q=0 */
Index: modules/filters/mod_deflate.c
===================================================================
--- modules/filters/mod_deflate.c       (revision 1874543)
+++ modules/filters/mod_deflate.c       (working copy)
@@ -730,7 +730,7 @@
                 }
                 q = ap_get_token(r->pool, &accepts, 1);
                 ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r,
-                              "token: '%s' - q: '%s'", token, q);
+                              "token: '%s' - q: '%s'", token ? token : "", q);
             }
 
             /* No acceptable token found or q=0 */

Reply via email to