提交 5a8bb142 authored 作者: Anthony Minessale's avatar Anthony Minessale

update msg txt

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5039 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 757916fe
......@@ -133,7 +133,7 @@ static switch_status_t ctl_function(char *data, switch_core_session_t *session,
arg = 0;
switch_core_session_ctl(SCSC_SHUTDOWN, &arg);
} else {
stream->write_function(stream, "INVALID COMMAND [%s]\nUSAGE: fsctl [hupall|pause|resume|shutdown]\n", argv[0]);
stream->write_function(stream, "INVALID COMMAND\nUSAGE: fsctl [hupall|pause|resume|shutdown]\n");
goto end;
}
......
......@@ -959,8 +959,7 @@ SWITCH_DECLARE(switch_status_t) switch_api_execute(char *cmd, char *arg, switch_
status = api->function(arg, session, stream);
} else {
status = SWITCH_STATUS_FALSE;
stream->write_function(stream, "INVALID COMMAND [%s]", cmd);
/* snprintf(retbuf, len, "INVALID COMMAND [%s]", cmd); */
stream->write_function(stream, "INVALID COMMAND!\n");
}
if (stream->event) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论