diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-20 22:55:21 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-20 22:55:21 +0000 |
commit | e05abce90e907eb66acb0f064278c4c975c47063 (patch) | |
tree | 2d39bb9a474172b03b7648ce89395efa39464257 | |
parent | 67b09b18eefec557683ca8ee6ab3aa43289ab22f (diff) |
Fix a stupid mistake in my last cdr_pgsql race condition fix
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@70560 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | cdr/cdr_pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_pgsql.c b/cdr/cdr_pgsql.c index 14f343abd..45e3e4af4 100644 --- a/cdr/cdr_pgsql.c +++ b/cdr/cdr_pgsql.c @@ -315,7 +315,7 @@ static int reload(void) ast_mutex_lock(&pgsql_lock); my_unload_module(); res = my_load_module(); - ast_mutex_lock(&pgsql_lock); + ast_mutex_unlock(&pgsql_lock); return res; } |