--- chan_dahdi.c.158482 2008-12-24 20:33:48.000000000 +1300 +++ chan_dahdi.c 2008-12-30 21:30:30.000000000 +1300 @@ -8207,7 +8207,7 @@ static void *do_monitor(void *data) ast_debug(1, "Monitor doohicky got event %s on channel %d\n", event2str(res), i->channel); /* Don't hold iflock while handling init events */ ast_mutex_unlock(&iflock); - if (0 == i->mwisendactive || 0 != mwi_send_process_event(i, res)) { + if (0 == i->mwisendactive || 0 == mwi_send_process_event(i, res)) { handle_init_event(i, res); } ast_mutex_lock(&iflock);