forked from Mirrors/freeswitch
pad buffer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12593 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5e1fcbd1bf
commit
891d8a0f5e
@ -63,7 +63,7 @@ ESLevent *ESLconnection::api(const char *cmd, const char *arg)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
len = strlen(cmd) + (arg ? strlen(arg) : 0) + 5;
|
||||
len = strlen(cmd) + (arg ? strlen(arg) : 0) + 10;
|
||||
|
||||
cmd_buf = (char *) malloc(len);
|
||||
assert(cmd_buf);
|
||||
@ -92,7 +92,7 @@ ESLevent *ESLconnection::bgapi(const char *cmd, const char *arg)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
len = strlen(cmd) + (arg ? strlen(arg) : 0) + 8;
|
||||
len = strlen(cmd) + (arg ? strlen(arg) : 0) + 10;
|
||||
|
||||
cmd_buf = (char *) malloc(len);
|
||||
assert(cmd_buf);
|
||||
|
Loading…
Reference in New Issue
Block a user