update msg txt

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5039 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-04-29 03:21:56 +00:00
parent 757916feff
commit 5a8bb14259
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}

View File

@ -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) {