aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_config_odbc.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-28 19:41:18 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-28 19:41:18 +0000
commit5d6dc7ab735b8701ffa72115e0f19619f24d3908 (patch)
treee0ecc6c53be20cead23b7d702f6f9a18f83cb22e /res/res_config_odbc.c
parent19dd1526bcf6b6042f2d5a2280e98da9e3ff6e4a (diff)
Remove the ill-advised ast_restrdupa API call and related structures
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72492 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_config_odbc.c')
-rw-r--r--res/res_config_odbc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c
index ae712042a..7715166b4 100644
--- a/res/res_config_odbc.c
+++ b/res/res_config_odbc.c
@@ -220,7 +220,6 @@ static struct ast_config *realtime_multi_odbc(const char *database, const char *
struct ast_variable *var=NULL;
struct ast_config *cfg=NULL;
struct ast_category *cat=NULL;
- struct ast_realloca ra;
SQLULEN colsize;
SQLSMALLINT colcount=0;
SQLSMALLINT datatype;
@@ -230,11 +229,9 @@ static struct ast_config *realtime_multi_odbc(const char *database, const char *
va_list aq;
va_copy(aq, ap);
-
-
+
if (!table)
return NULL;
- memset(&ra, 0, sizeof(ra));
obj = ast_odbc_request_obj(database, 0);
if (!obj)