Add a log message if we get an unexpected ECM reply

This commit is contained in:
Andreas Öman 2009-12-20 22:25:43 +00:00
parent a544a46099
commit 10697016d8

View file

@ -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;