]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix incorrect var name
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 25 Mar 2009 18:47:47 +0000 (18:47 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 25 Mar 2009 18:47:47 +0000 (18:47 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12782 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_fifo/mod_fifo.c

index fc79e6f643462b3a1b1ba2c24a717ec93d7f0f7d..6c706e390fd43f942c7efcec6626fbe2b016c67c 100644 (file)
@@ -464,7 +464,7 @@ static void *SWITCH_THREAD_FUNC o_thread_run(switch_thread_t *thread, void *obj)
 
        channel = switch_core_session_get_channel(session);
 
-       if ((member_wait = switch_channel_get_variable(channel, "member_wait"))) {
+       if ((member_wait = switch_channel_get_variable(channel, "fifo_member_wait")) || (member_wait = switch_channel_get_variable(channel, "member_wait"))) {
                if (strcasecmp(member_wait, "wait") && strcasecmp(member_wait, "nowait")) {
                        member_wait = NULL;
                }