]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODAPP-210
authorBrian West <brian@freeswitch.org>
Mon, 9 Feb 2009 09:03:32 +0000 (09:03 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 9 Feb 2009 09:03:32 +0000 (09:03 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11699 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_fifo/mod_fifo.c

index ccdbce9d85c51231382025bb82a5d878f4227a58..2ea5ff8ffc126966ebf7284d5b633581bb17b7a6 100644 (file)
@@ -1929,6 +1929,11 @@ SWITCH_STANDARD_API(fifo_member_api_function)
        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);