aboutsummaryrefslogtreecommitdiffstats
path: root/cdr/cdr_pgsql.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-20 22:55:47 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-20 22:55:47 +0000
commite5bfda136f4bfd911ffc6bd8a04190ae82477703 (patch)
tree0dd651273d224493d1c1153389439955dd964f1f /cdr/cdr_pgsql.c
parent724553d96f44628a98336679942a25e58c76f8d3 (diff)
Merged revisions 70560 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@70561 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr/cdr_pgsql.c')
-rw-r--r--cdr/cdr_pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_pgsql.c b/cdr/cdr_pgsql.c
index ac0373cb2..4f3901c98 100644
--- a/cdr/cdr_pgsql.c
+++ b/cdr/cdr_pgsql.c
@@ -313,7 +313,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;
}