mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Fix a stupid mistake in my last cdr_pgsql race condition fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@70560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user