diff --git a/src/cwc.c b/src/cwc.c index 2802eb75..5d989d41 100644 --- a/src/cwc.c +++ b/src/cwc.c @@ -603,8 +603,10 @@ cwc_running_reply(cwc_t *cwc, uint8_t msgtype, uint8_t *msg, int len) break; } - if(ct == NULL) + if(ct == NULL) { + tvhlog(LOG_ERR, "cwc", "Got unexpected ECM reply"); return 0; + } t = ct->ct_transport; ct->ct_ecm_reply_pending = 0;