[Freeswitch-svn] [commit] r5039 - in freeswitch/trunk/src: . mod/applications/mod_commands
Author: anthm Date: Sat Apr 28 23:21:56 2007 New Revision: 5039 Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c freeswitch/trunk/src/switch_loadable_module.c Log: update msg txt Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c ============================================================================== --- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c (original) +++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c Sat Apr 28 23:21:56 2007 @@ -133,7 +133,7 @@ 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; } Modified: freeswitch/trunk/src/switch_loadable_module.c ============================================================================== --- freeswitch/trunk/src/switch_loadable_module.c (original) +++ freeswitch/trunk/src/switch_loadable_module.c Sat Apr 28 23:21:56 2007 @@ -959,8 +959,7 @@ 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) {
participants (1)
-
Freeswitch SVN