[asterisk-commits] file: branch 1.4 r47584 - in /branches/1.4: ./
cdr/cdr_pgsql.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Nov 13 14:28:58 MST 2006
Author: file
Date: Mon Nov 13 15:28:57 2006
New Revision: 47584
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47584
Log:
Merged revisions 47583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47583 | file | 2006-11-13 16:26:36 -0500 (Mon, 13 Nov 2006) | 2 lines
Initialize global pointers for connection and result to NULL. (issue #8356 reported by james)
........
Modified:
branches/1.4/ (props changed)
branches/1.4/cdr/cdr_pgsql.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/cdr/cdr_pgsql.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/cdr/cdr_pgsql.c?view=diff&rev=47584&r1=47583&r2=47584
==============================================================================
--- branches/1.4/cdr/cdr_pgsql.c (original)
+++ branches/1.4/cdr/cdr_pgsql.c Mon Nov 13 15:28:57 2006
@@ -66,8 +66,8 @@
AST_MUTEX_DEFINE_STATIC(pgsql_lock);
-static PGconn *conn;
-static PGresult *result;
+static PGconn *conn = NULL;
+static PGresult *result = NULL;
static int pgsql_log(struct ast_cdr *cdr)
{
More information about the asterisk-commits
mailing list