projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9863ed4
)
Declaring conn and result static to avoid collission with realtime driver (issue...
author
Olle Johansson
<oej@edvina.net>
Tue, 24 Jan 2006 11:42:09 +0000
(11:42 +0000)
committer
Olle Johansson
<oej@edvina.net>
Tue, 24 Jan 2006 11:42:09 +0000
(11:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8523
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
cdr/cdr_pgsql.c
patch
|
blob
|
history
diff --git
a/cdr/cdr_pgsql.c
b/cdr/cdr_pgsql.c
index
f9769ab
..
79919ee
100644
(file)
--- a/
cdr/cdr_pgsql.c
+++ b/
cdr/cdr_pgsql.c
@@
-1,7
+1,7
@@
/*
* Asterisk -- An open source telephony toolkit.
*
- * Copyright (C) 2003 - 2005
+ * Copyright (C) 2003 - 2006
*
* Matthew D. Hardeman <mhardemn@papersoft.com>
* Adapted from the MySQL CDR logger originally by James Sharp
@@
-64,8
+64,8
@@
static int connected = 0;
AST_MUTEX_DEFINE_STATIC(pgsql_lock);
-PGconn *conn;
-PGresult *result;
+static PGconn *conn;
+static PGresult *result;
static int pgsql_log(struct ast_cdr *cdr)
{