]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix warning for NULL pointer
authormanu <manu@unknown>
Wed, 15 Feb 2023 16:27:55 +0000 (16:27 +0000)
committermanu <manu@unknown>
Wed, 15 Feb 2023 16:27:55 +0000 (16:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907683 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/main/ms_wdv.c

index d9cccad5f93c0aee91267b3140abbbc0bb287f1b..62f14382a9b6586130e81699eaa490eb826e32e0 100644 (file)
@@ -409,7 +409,7 @@ static dav_error *mswdv_combined_lock(request_rec *r)
 done:
     ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
                   "%s failmsg = \"%s\", action = %s%s%s%s%s",
-                  __func__, failmsg,
+                  __func__, failmsg ? failmsg : "",
                   action == LOCK ? "LOCK" : "",
                   action == UNLOCK ? "UNLOCK" : "",
                   action == REFRESH ? "REFRESH" : "",