[Freeswitch-svn] [commit] r11699 - freeswitch/trunk/src/mod/applications/mod_fifo

FreeSWITCH SVN brian at freeswitch.org
Mon Feb 9 01:03:32 PST 2009


Author: brian
Date: Mon Feb  9 03:03:32 2009
New Revision: 11699

Log:
MODAPP-210

Modified:
   freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c

Modified: freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c	Mon Feb  9 03:03:32 2009
@@ -1929,6 +1929,11 @@
 	int argc;
 	time_t expires = 0;
 
+	if (switch_strlen_zero(cmd)){
+		stream->write_function(stream, "-USAGE: %s\n", FIFO_MEMBER_API_SYNTAX);
+		return SWITCH_STATUS_SUCCESS;
+	}
+
 	mydata = strdup(cmd);
 	switch_assert(mydata);
 



More information about the Freeswitch-svn mailing list