update msg txt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5039 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
757916feff
commit
5a8bb14259
|
@ -133,7 +133,7 @@ static switch_status_t ctl_function(char *data, switch_core_session_t *session,
|
||||||
arg = 0;
|
arg = 0;
|
||||||
switch_core_session_ctl(SCSC_SHUTDOWN, &arg);
|
switch_core_session_ctl(SCSC_SHUTDOWN, &arg);
|
||||||
} else {
|
} 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;
|
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);
|
status = api->function(arg, session, stream);
|
||||||
} else {
|
} else {
|
||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
stream->write_function(stream, "INVALID COMMAND [%s]", cmd);
|
stream->write_function(stream, "INVALID COMMAND!\n");
|
||||||
/* snprintf(retbuf, len, "INVALID COMMAND [%s]", cmd); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stream->event) {
|
if (stream->event) {
|
||||||
|
|
Loading…
Reference in New Issue