mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
minor tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6496 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -51,7 +51,13 @@ SWITCH_STANDARD_API(expr_function)
|
||||
int err;
|
||||
char val[512] = "", *p;
|
||||
char *m_cmd = NULL;
|
||||
size_t len = strlen(cmd) + 3;
|
||||
size_t len;
|
||||
|
||||
if (switch_strlen_zero(cmd)) {
|
||||
goto error;
|
||||
}
|
||||
|
||||
len = strlen(cmd) + 3;
|
||||
|
||||
|
||||
m_cmd = malloc(len);
|
||||
|
||||
Reference in New Issue
Block a user