]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
whoops (MODENDP-103)
authorMichael Jerris <mike@jerris.com>
Mon, 7 Apr 2008 05:38:37 +0000 (05:38 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 7 Apr 2008 05:38:37 +0000 (05:38 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@449 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/zap_isdn.c

index 63a8d4782ab6c381838baf2dff5ae959999302e7..08ab6fe6f11c3de108dc6bce0e1107391ea3a3e0 100644 (file)
@@ -223,13 +223,13 @@ static L3INT zap_isdn_931_34(void *pvt, L2UCHAR *msg, L2INT mlen)
                                                        }
                                                }
                                                if (zap_test_flag(zchan, ZAP_CHANNEL_INUSE)) {
-                                                       zchan = NULL;
                                                        zap_log(ZAP_LOG_ERROR, "Channel %d:%d ~ %d:%d is already in use.\n",
                                                                        zchan->span_id,
                                                                        zchan->chan_id,
                                                                        zchan->physical_span_id,
                                                                        zchan->physical_chan_id
                                                                        );
+                                                       zchan = NULL;
                                                }
                                        }