Fix SIP buglets

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-10-09 20:08:41 +00:00
parent 0e76390736
commit 513b6333fb
2 changed files with 10 additions and 7 deletions

View File

@@ -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);