a fix for bug 8251; the var_val needs to accept longer strings or mass confusion...
authorSteve Murphy <murf@digium.com>
Wed, 1 Nov 2006 19:48:40 +0000 (19:48 +0000)
committerSteve Murphy <murf@digium.com>
Wed, 1 Nov 2006 19:48:40 +0000 (19:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46801 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_config_odbc.c

index e748d7f..4bfc1db 100644 (file)
@@ -448,7 +448,7 @@ struct config_odbc_obj {
        char filename[128];
        char category[128];
        char var_name[128];
-       char var_val[128];
+       char var_val[1024]; /* changed from 128 to 1024 via bug 8251 */
        SQLINTEGER err;
 };