[Freeswitch-svn] [commit] r7498 - freeswitch/trunk/src/mod/applications/mod_commands
Freeswitch SVN
brian at freeswitch.org
Sat Feb 2 23:23:08 EST 2008
Author: brian
Date: Sat Feb 2 23:23:08 2008
New Revision: 7498
Modified:
freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
Log:
fix usage
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 Feb 2 23:23:08 2008
@@ -1343,7 +1343,7 @@
switch_status_t status = SWITCH_STATUS_SUCCESS;
if (session || switch_strlen_zero(cmd)) {
- stream->write_function(stream, "-ERR Illegal Usage\n");
+ stream->write_function(stream, "-USAGE %s\n", ORIGINATE_SYNTAX);
return SWITCH_STATUS_SUCCESS;
}
More information about the Freeswitch-svn
mailing list