]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Add a log message if we get an unexpected ECM reply
authorAndreas Öman <andreas@lonelycoder.com>
Sun, 20 Dec 2009 22:25:43 +0000 (22:25 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 20 Dec 2009 22:25:43 +0000 (22:25 +0000)
src/cwc.c

index 2802eb753b5d9cbd09593a61c73df90c9df05dc9..5d989d4197e0794bfd3bb54a9b5808267eee6c06 100644 (file)
--- 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;