You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2023/02/15 16:27:55 UTC

svn commit: r1907683 - /httpd/httpd/trunk/modules/dav/main/ms_wdv.c

Author: manu
Date: Wed Feb 15 16:27:55 2023
New Revision: 1907683

URL: http://svn.apache.org/viewvc?rev=1907683&view=rev
Log:

Fix warning for NULL pointer

Modified:
    httpd/httpd/trunk/modules/dav/main/ms_wdv.c

Modified: httpd/httpd/trunk/modules/dav/main/ms_wdv.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/main/ms_wdv.c?rev=1907683&r1=1907682&r2=1907683&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/main/ms_wdv.c (original)
+++ httpd/httpd/trunk/modules/dav/main/ms_wdv.c Wed Feb 15 16:27:55 2023
@@ -409,7 +409,7 @@ static dav_error *mswdv_combined_lock(re
 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" : "",