Declaring conn and result static to avoid collission with realtime driver (issue 6336, pressureman)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Olle Johansson 20 years ago
parent 9863ed4624
commit fe1366c201

@ -1,7 +1,7 @@
/* /*
* Asterisk -- An open source telephony toolkit. * Asterisk -- An open source telephony toolkit.
* *
* Copyright (C) 2003 - 2005 * Copyright (C) 2003 - 2006
* *
* Matthew D. Hardeman <mhardemn@papersoft.com> * Matthew D. Hardeman <mhardemn@papersoft.com>
* Adapted from the MySQL CDR logger originally by James Sharp * Adapted from the MySQL CDR logger originally by James Sharp
@ -64,8 +64,8 @@ static int connected = 0;
AST_MUTEX_DEFINE_STATIC(pgsql_lock); AST_MUTEX_DEFINE_STATIC(pgsql_lock);
PGconn *conn; static PGconn *conn;
PGresult *result; static PGresult *result;
static int pgsql_log(struct ast_cdr *cdr) static int pgsql_log(struct ast_cdr *cdr)
{ {

Loading…
Cancel
Save