[asterisk-commits] file: trunk r47585 - in /trunk: ./ cdr/cdr_pgsql.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Nov 13 14:32:13 MST 2006


Author: file
Date: Mon Nov 13 15:32:13 2006
New Revision: 47585

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47585
Log:
Merged revisions 47584 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47584 | file | 2006-11-13 16:28:57 -0500 (Mon, 13 Nov 2006) | 10 lines

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:
    trunk/   (props changed)
    trunk/cdr/cdr_pgsql.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/cdr/cdr_pgsql.c
URL: http://svn.digium.com/view/asterisk/trunk/cdr/cdr_pgsql.c?view=diff&rev=47585&r1=47584&r2=47585
==============================================================================
--- trunk/cdr/cdr_pgsql.c (original)
+++ trunk/cdr/cdr_pgsql.c Mon Nov 13 15:32:13 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