mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
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;
|
int argc;
|
||||||
time_t expires = 0;
|
time_t expires = 0;
|
||||||
|
|
||||||
|
if (!globals.running) {
|
||||||
|
return SWITCH_STATUS_FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
if (switch_strlen_zero(cmd)){
|
if (switch_strlen_zero(cmd)){
|
||||||
stream->write_function(stream, "-USAGE: %s\n", FIFO_MEMBER_API_SYNTAX);
|
stream->write_function(stream, "-USAGE: %s\n", FIFO_MEMBER_API_SYNTAX);
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user