Oops
authorMark Spencer <markster@digium.com>
Sat, 24 Jul 2004 23:45:37 +0000 (23:45 +0000)
committerMark Spencer <markster@digium.com>
Sat, 24 Jul 2004 23:45:37 +0000 (23:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3506 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 7d51979..0920be3 100755 (executable)
@@ -3183,7 +3183,7 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast)
                                                                return NULL;
                                                        }
                                                }
-                                               if (p->subs[SUB_THREEWAY].owner) {
+                                               if (!p->subs[SUB_THREEWAY].owner) {
                                                        ast_log(LOG_NOTICE, "Whoa, threeway disappeared kinda randomly.\n");
                                                        return NULL;
                                                }