interface_exists_global was never returning 1. Most likely an error from my merge...
authorMark Michelson <mmichelson@digium.com>
Mon, 24 Sep 2007 17:00:57 +0000 (17:00 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 24 Sep 2007 17:00:57 +0000 (17:00 +0000)
(closes issue #10817, reported and patched by snar, patch simplified by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83656 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 8ff2c99..9470b44 100644 (file)
@@ -884,6 +884,7 @@ static int interface_exists_global(const char *interface)
                        ao2_ref(mem, -1);
                        ao2_unlock(q);
                        queue_unref(q);
+                       ret = 1;
                        break;
                }
                ao2_unlock(q);