FS-11372: [mod_commands] garbage uuid on output from bgapi #resolve
This commit is contained in:
parent
b0ea727851
commit
3102806390
|
@ -5334,7 +5334,7 @@ SWITCH_STANDARD_API(bgapi_function)
|
||||||
switch_threadattr_t *thd_attr = NULL;
|
switch_threadattr_t *thd_attr = NULL;
|
||||||
|
|
||||||
const char *p, *arg = cmd;
|
const char *p, *arg = cmd;
|
||||||
char my_uuid[SWITCH_UUID_FORMATTED_LENGTH + 1];
|
char my_uuid[SWITCH_UUID_FORMATTED_LENGTH + 1] = "";
|
||||||
|
|
||||||
if (!cmd) {
|
if (!cmd) {
|
||||||
stream->write_function(stream, "-ERR Invalid syntax\n");
|
stream->write_function(stream, "-ERR Invalid syntax\n");
|
||||||
|
|
Loading…
Reference in New Issue