]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
ESL-91: --resolve bigger buffer for args
authorMichael Jerris <mike@jerris.com>
Mon, 21 Apr 2014 17:33:41 +0000 (13:33 -0400)
committerMichael Jerris <mike@jerris.com>
Mon, 21 Apr 2014 17:33:47 +0000 (13:33 -0400)
libs/esl/src/esl.c

index 3421717e912a8ef3cd946a9e3ba1a396b8cc0059..769d1981767080f2b5ae189a3857d8aefc59bfb8 100644 (file)
@@ -528,10 +528,10 @@ ESL_DECLARE(esl_status_t) esl_execute(esl_handle_t *handle, const char *app, con
 {
        char cmd_buf[128] = "sendmsg";
        char app_buf[512] = "";
-       char arg_buf[512] = "";
+       char arg_buf[4096] = "";
        const char *el_buf = "event-lock: true\n";
        const char *bl_buf = "async: true\n";
-       char send_buf[1292] = "";
+       char send_buf[5120] = "";
        
     if (!handle || !handle->connected || handle->sock == ESL_SOCK_INVALID) {
         return ESL_FAIL;