summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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 adbfb148d9..33787f977a 100644
--- a/modules/dav/main/ms_wdv.c
+++ b/modules/dav/main/ms_wdv.c
@@ -80,7 +80,7 @@ static const char *get_lock_owner(request_rec *r, dav_lock *lock)
lock = lock->next;
}
- return lock->auth_user;
+ return lock ? lock->auth_user : NULL;
}