[Asterisk-cvs] asterisk/cdr cdr_pgsql.c,1.5,1.6
markster at lists.digium.com
markster at lists.digium.com
Thu Jan 22 11:11:14 CST 2004
Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv16034/cdr
Modified Files:
cdr_pgsql.c
Log Message:
Release pgsql on failure (bug #891)
Index: cdr_pgsql.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_pgsql.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cdr_pgsql.c 11 Jan 2004 19:34:04 -0000 1.5
+++ cdr_pgsql.c 22 Jan 2004 17:03:11 -0000 1.6
@@ -124,6 +124,7 @@
ast_log(LOG_ERROR, "cdr_pgsql: Unable to reconnect to database server %s. Calls will not be logged!\n", pghostname);
ast_log(LOG_ERROR, "cdr_pgsql: Reason: %s\n", pgerror);
connected = 0;
+ ast_mutex_unlock(&pgsql_lock);
return -1;
}
}
More information about the svn-commits
mailing list