whoops (MODENDP-103)

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@450 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2008-04-07 06:01:27 +00:00
parent 36f5e57727
commit 8083279903
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ static L3INT zap_isdn_931_34(void *pvt, L2UCHAR *msg, L2INT mlen)
}
}
if (zchan->state == ZAP_CHANNEL_STATE_DOWN) {
if (zchan && zchan->state == ZAP_CHANNEL_STATE_DOWN) {
isdn_data->channels_remote_crv[gen->CRV] = zchan;
memset(&zchan->caller_data, 0, sizeof(zchan->caller_data));