never hurts to be extra careful
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11702 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
094d4ee7bb
commit
ddcefe3d4f
|
@ -1929,6 +1929,10 @@ SWITCH_STANDARD_API(fifo_member_api_function)
|
|||
int argc;
|
||||
time_t expires = 0;
|
||||
|
||||
if (!globals.running) {
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
if (switch_strlen_zero(cmd)){
|
||||
stream->write_function(stream, "-USAGE: %s\n", FIFO_MEMBER_API_SYNTAX);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
|
|
Loading…
Reference in New Issue