aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_config_odbc.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-09 20:08:41 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-09 20:08:41 +0000
commitb165c5aad85e432d04364423dbc33f45f65ed7c3 (patch)
treed7c788a30d8ac5ec1c8a7ab2ef18e6d52c9efb30 /res/res_config_odbc.c
parent94e2ddbc04c27c4b126acc25e1e84ccbf947fb5d (diff)
Fix SIP buglets
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3965 f38db490-d61c-443f-a65b-d21fe96a405b
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);