https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70560 | qwell | 2007-06-20 17:55:21 -0500 (Wed, 20 Jun 2007) | 1 line
Fix a stupid mistake in my last cdr_pgsql race condition fix
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70561
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
ast_mutex_lock(&pgsql_lock);
my_unload_module();
res = my_load_module();
- ast_mutex_lock(&pgsql_lock);
+ ast_mutex_unlock(&pgsql_lock);
return res;
}