NULL check

This commit is contained in:
MelwareDE 2009-07-24 17:29:18 +00:00
parent 2605e06121
commit a5bff8162f
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ static void chat_handle_events(struct ast_channel *c, struct capi_pvt *i,
i->vname);
if ((voice_message == NULL) && (i->channeltype == CAPI_CHANNELTYPE_NULL)) {
capi_write_frame(i, f);
} else if (iline != 0) {
} else if (iline != NULL) {
capi_write_frame(iline, f);
}
} else if (f->frametype == AST_FRAME_NULL) {