]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
pad buffer
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 11 Sep 2009 17:34:12 +0000 (17:34 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 11 Sep 2009 17:34:12 +0000 (17:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14832 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_lua/freeswitch_lua.cpp

index 76cad70c5df4b8950f385f1d91ef0b90c1deb5bb..510210a82010fc9a9c145a9555ad8f1d4a821a4f 100644 (file)
@@ -251,7 +251,7 @@ switch_status_t Session::run_dtmf_callback(void *input, switch_input_type_t ityp
        case SWITCH_INPUT_TYPE_DTMF:
                {
                        switch_dtmf_t *dtmf = (switch_dtmf_t *) input;
-                       char str[2] = "";
+                       char str[3] = "";
                        int arg_count = 3;
 
                        lua_getfield(L, LUA_GLOBALSINDEX, (char *) cb_function);