mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
doh... initializing the pointer variable will work just a bit better
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@62841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -424,7 +424,7 @@ static struct ast_config *config_odbc(const char *database, const char *table, c
|
||||
SQLINTEGER err=0, cat_metric=0, last_cat_metric=0;
|
||||
char category[128], var_name[128], var_val[1024];
|
||||
char sqlbuf[1024];
|
||||
char *sql;
|
||||
char *sql = sqlbuf;
|
||||
size_t sqlleft = sizeof(sqlbuf);
|
||||
SQLSMALLINT rowcount=0;
|
||||
SQLHSTMT stmt;
|
||||
|
Reference in New Issue
Block a user