summaryrefslogtreecommitdiff
path: root/res/res_config_odbc.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-10-09 20:08:41 +0000
committerMark Spencer <markster@digium.com>2004-10-09 20:08:41 +0000
commit513b6333fb6d05d429db8c41f51467239e5984ac (patch)
treed7c788a30d8ac5ec1c8a7ab2ef18e6d52c9efb30 /res/res_config_odbc.c
parent0e76390736931dab891c4ec9acba7a69723b62c1 (diff)
Fix SIP buglets
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_config_odbc.c')
-rwxr-xr-xres/res_config_odbc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c
index 4ccfd6229..7d2cd8ea1 100755
--- a/res/res_config_odbc.c
+++ b/res/res_config_odbc.c
@@ -128,6 +128,7 @@ static struct ast_variable *realtime_odbc(const char *database, const char *tabl
return NULL;
}
for (x=0;x<colcount;x++) {
+ rowdata[0] = '\0';
collen = sizeof(coltitle);
res = SQLDescribeCol(stmt, x + 1, coltitle, sizeof(coltitle), &collen,
&datatype, &colsize, &decimaldigits, &nullable);