mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -66,8 +66,8 @@ static int connected = 0; | ||||
|  | ||||
| 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) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user