From 7c849df9c306b8727cebb6c6511de29375fca0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Fri, 2 May 2008 10:14:43 +0000 Subject: [PATCH] Do not deref tht_channel, instead rely on tht_servicename --- cwc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cwc.c b/cwc.c index 8655a012..304efcae 100644 --- a/cwc.c +++ b/cwc.c @@ -499,8 +499,8 @@ cwc_dispatch_running_reply(cwc_t *cwc, uint8_t msgtype, uint8_t *msg, int len) if(ct->ct_keystate != CT_FORBIDDEN) syslog(LOG_ERR, - "Cannot descramble \"%s\" for channel \"%s\", access denied", - t->tht_identifier, t->tht_channel->ch_name); + "Can not descramble \"%s\" for service \"%s\", access denied", + t->tht_identifier, t->tht_servicename); ct->ct_keystate = CT_FORBIDDEN; return 0; @@ -508,8 +508,8 @@ cwc_dispatch_running_reply(cwc_t *cwc, uint8_t msgtype, uint8_t *msg, int len) if(ct->ct_keystate != CT_RESOLVED) syslog(LOG_INFO, - "Obtained key for \"%s\" for channel \"%s\"", - t->tht_identifier, t->tht_channel->ch_name); + "Obtained key for \"%s\" for service \"%s\"", + t->tht_identifier, t->tht_servicename); ct->ct_keystate = CT_RESOLVED; set_control_words(ct->ct_keys, msg + 3, msg + 3 + 8);