]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
*) mod_md: resurrect r1898962 lost by a change merge.
authorStefan Eissing <icing@apache.org>
Thu, 26 May 2022 08:10:37 +0000 (08:10 +0000)
committerStefan Eissing <icing@apache.org>
Thu, 26 May 2022 08:10:37 +0000 (08:10 +0000)
     Thanks to Christophe for catching this.

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

modules/md/md_store_fs.c

index ab43054ce58a0e4c9e3527f6673ddc7aa2e7c351..4be7a0e818c1f3ceed0b79354fdbc4a7d566def7 100644 (file)
@@ -521,7 +521,8 @@ static apr_status_t mk_group_dir(const char **pdir, md_store_fs_t *s_fs,
     }
 cleanup:
     if (APR_SUCCESS != rv) {
-        md_log_perror(MD_LOG_MARK, MD_LOG_ERR, rv, p, "mk_group_dir %d %s", group, name);
+        md_log_perror(MD_LOG_MARK, MD_LOG_ERR, rv, p, "mk_group_dir %d %s",
+                      group, (*pdir? *pdir : (name? name : "(null)")));
     }
     return rv;
 }