diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-24 11:42:09 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-24 11:42:09 +0000 |
commit | 87f12a25373294131d6a70c96ce9faf45e634874 (patch) | |
tree | 04792ca060243e628c356c66ec55ca5240e30f1a /cdr | |
parent | b259323abc2b6d5378f44f3ca5dd28d7da1e4b9d (diff) |
Declaring conn and result static to avoid collission with realtime driver (issue 6336, pressureman)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8523 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr')
-rw-r--r-- | cdr/cdr_pgsql.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cdr/cdr_pgsql.c b/cdr/cdr_pgsql.c index f9769ab76..79919ee5e 100644 --- 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) { |