tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15583 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8b0d96a23b
commit
579bb3e7c4
|
@ -2118,6 +2118,7 @@ SWITCH_STANDARD_API(uuid_debug_audio_function)
|
|||
|
||||
if (zstr(cmd) || argc < 3 || zstr(argv[0]) || zstr(argv[1]) || zstr(argv[2])) {
|
||||
stream->write_function(stream, "-USAGE: %s\n", DEBUG_AUDIO_SYNTAX);
|
||||
goto done;
|
||||
} else {
|
||||
switch_core_session_message_t msg = { 0 };
|
||||
switch_core_session_t *lsession = NULL;
|
||||
|
@ -2139,6 +2140,8 @@ SWITCH_STANDARD_API(uuid_debug_audio_function)
|
|||
stream->write_function(stream, "-ERR Operation Failed\n");
|
||||
}
|
||||
|
||||
done:
|
||||
|
||||
switch_safe_free(mycmd);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue