Browse Source

deadlock fix

cache-automerge/7c/ef0e3bd6646130fd6edf2d94e01b88c9e78770
Richard Fuchs 11 years ago
parent
commit
1edb2d6efd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/main.c

+ 1
- 1
daemon/main.c View File

@ -375,7 +375,7 @@ static void cb_openssl_threadid(CRYPTO_THREADID *tid) {
}
static void cb_openssl_lock(int mode, int type, const char *file, int line) {
if ((type & CRYPTO_LOCK))
if ((mode & CRYPTO_LOCK))
mutex_lock(&openssl_locks[type]);
else
mutex_unlock(&openssl_locks[type]);


Loading…
Cancel
Save