diff options
Diffstat (limited to 'xpp/xpp_zap.c')
-rw-r--r-- | xpp/xpp_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/xpp_zap.c b/xpp/xpp_zap.c index 5298580..3e7fc9c 100644 --- a/xpp/xpp_zap.c +++ b/xpp/xpp_zap.c @@ -626,9 +626,9 @@ void update_line_status(xpd_t *xpd, int pos, bool good) { struct zt_chan *chan; + BUG_ON(!xpd); if(!SPAN_REGISTERED(xpd)) return; - BUG_ON(!xpd); chan = &xpd->chans[pos]; if(good) zt_hooksig(chan, ZT_RXSIG_OFFHOOK); |