From: Justin Erenkrantz Date: Mon, 6 May 2002 22:59:56 +0000 (+0000) Subject: It isn't a fatal condition if there is no lockfile name, so switch from X-Git-Tag: 2.0.37~473 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d60a704bfe4b3f3b23156732c5f2a9f7a25454c5;p=apache 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 --- 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 */