]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
handle the disappearance of apr_lock_create_np() and
authorJeff Trawick <trawick@apache.org>
Sat, 29 Dec 2001 23:16:24 +0000 (23:16 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 29 Dec 2001 23:16:24 +0000 (23:16 +0000)
apr_proc_mutex_create_np() and the new parameter to
apr_lock_create() and apr_proc_mutex_create()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@92653 13f79535-47bb-0310-9956-ffa450edef68

ssl_engine_mutex.c

index 942e399b8e6d8eb51eb161fbabec6071dbb6322e..adb54a4c7785de4958743c76c43730b5fb56f021 100644 (file)
@@ -68,7 +68,7 @@ int ssl_mutex_init(server_rec *s, apr_pool_t *p)
 
     if (mc->nMutexMode == SSL_MUTEXMODE_NONE) 
         return TRUE;
-    if (apr_lock_create(&mc->pMutex, APR_MUTEX, APR_LOCKALL, 
+    if (apr_lock_create(&mc->pMutex, APR_MUTEX, APR_LOCKALL, APR_LOCK_DEFAULT,
                         mc->szMutexFile, p) != APR_SUCCESS)
         return FALSE;
     return TRUE;