httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1858565 - /httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
Date Fri, 03 May 2019 09:07:32 GMT
Author: jorton
Date: Fri May  3 09:07:32 2019
New Revision: 1858565

URL: http://svn.apache.org/viewvc?rev=1858565&view=rev
Log:
* modules/cache/mod_socache_shmcb.c (socache_shmcb_init): Describe
  error better for anon shm failure case, fixing gcc 9 warning on
  passing NULL for '%s'.

Modified:
    httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c

Modified: httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c?rev=1858565&r1=1858564&r2=1858565&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c Fri May  3 09:07:32 2019
@@ -368,8 +368,8 @@ static apr_status_t socache_shmcb_init(a
          * above will return NULL for invalid paths. */
         if (ctx->data_file == NULL) {
             ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(00818)
-                         "Could not use default path '%s' for shmcb socache",
-                         ctx->data_file);
+                         "Could not use anonymous shm for '%s' cache",
+                         namespace);
             return APR_EINVAL;
         }
 



Mime
View raw message