From d60a704bfe4b3f3b23156732c5f2a9f7a25454c5 Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Mon, 6 May 2002 22:59:56 +0000 Subject: [PATCH] It isn't a fatal condition if there is no lockfile name, so switch from APR_EINVAL to APR_SUCCESS. (rewritelock_remove already returns SUCCESS in this case.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94981 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_rewrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index ce58a31511..934df26d10 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -3316,7 +3316,7 @@ static apr_status_t rewritelock_create(server_rec *s, apr_pool_t *p) /* only operate if a lockfile is used */ if (lockname == NULL || *(lockname) == '\0') { - return APR_EINVAL; + return APR_SUCCESS; } /* create the lockfile */ -- 2.50.1