summaryrefslogtreecommitdiffstats
path: root/modules/dav
diff options
context:
space:
mode:
authormanu <manu@unknown>2023-02-15 17:27:55 +0100
committermanu <manu@unknown>2023-02-15 17:27:55 +0100
commit783c8f5c2e0df167069daebd8b8aa04b2b2b823e (patch)
tree3948ccd29d6611b4ce586eb2eabad36ee26cf2ba /modules/dav
parentFix warnings (diff)
downloadapache2-783c8f5c2e0df167069daebd8b8aa04b2b2b823e.tar.xz
apache2-783c8f5c2e0df167069daebd8b8aa04b2b2b823e.zip
Fix warning for NULL pointer
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/dav')
-rw-r--r--modules/dav/main/ms_wdv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dav/main/ms_wdv.c b/modules/dav/main/ms_wdv.c
index d9cccad5f9..62f14382a9 100644
--- a/modules/dav/main/ms_wdv.c
+++ b/modules/dav/main/ms_wdv.c
@@ -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" : "",