]> granicus.if.org Git - apache/commitdiff
It isn't a fatal condition if there is no lockfile name, so switch from
authorJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 6 May 2002 22:59:56 +0000 (22:59 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 6 May 2002 22:59:56 +0000 (22:59 +0000)
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

index ce58a31511c52f50cbc312049d8a556ce4d9dbd8..934df26d109a42237c1fdd91948b1c156c99ddc7 100644 (file)
@@ -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 */