summaryrefslogtreecommitdiff
path: root/mcast
diff options
context:
space:
mode:
authorHolger Steinhaus <hsteinhaus@gmx.de>2015-11-11 21:11:35 +0100
committerHolger Steinhaus <hsteinhaus@gmx.de>2015-11-11 21:11:35 +0100
commitddeadc3215daa9285696b57d2fc816221f169f04 (patch)
tree3c31c377a57d1fd5516800feafb47598187ced8f /mcast
parent250f9ad3ed804fdf47952cfb196ee627e4273cbe (diff)
downloadvdr-plugin-mcli-ddeadc3215daa9285696b57d2fc816221f169f04.tar.gz
vdr-plugin-mcli-ddeadc3215daa9285696b57d2fc816221f169f04.tar.bz2
removed some printfs, converted others to VDR-like isyslog/dsyslog/esyslog() calls
Diffstat (limited to 'mcast')
-rw-r--r--mcast/common/ciparser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mcast/common/ciparser.c b/mcast/common/ciparser.c
index 5ce563d..bacde43 100644
--- a/mcast/common/ciparser.c
+++ b/mcast/common/ciparser.c
@@ -23,10 +23,10 @@ static unsigned char lc[] = { 0x01, 0x02, 0xA0, 0x5F, 0x02, 0x90, 0x02, 0x00, 0x
static unsigned char ld[] = { 0x00, 0x01, 0xA0, 0x82, 0x00, 0x10, 0x01, 0x90, 0x02, 0x00, 0x03, 0x9F, 0x80, 0x33, 0x07, 0x2D, 0xB9, 0x01, 0x81, 0x00, 0x08, 0x00, 0x80, 0x02, 0x01, 0x00 };
static unsigned char le[] = { 0x00, 0x01, 0xA0, 0x34, 0x01, 0x90, 0x02, 0x00, 0x03, 0x9F, 0x80, 0x32, 0x2B, 0x03, 0x00, 0x0B, 0x01, 0x00, 0x11, 0x01, 0x09, 0x06, 0x17, 0x22, 0xF0, 0x0B, 0x00, 0x0B, 0x09, 0x06, 0x17, 0x02, 0xF0, 0x0B, 0x00, 0x0B, 0x02, 0x06, 0xFF, 0x00, 0x00, 0x04, 0x07, 0x00, 0x00, 0x00, 0x04, 0x07, 0x01, 0x00, 0x00, 0x00, 0x07, 0x03, 0x00, 0x00};
-#define dbg(format, arg...) printf("%s:%d " format , __FILE__ , __LINE__ , ## arg)
-#define err(format, arg...) {printf("err:%s:%d: %s (%d): " format , __FILE__ , __LINE__ ,strerror(errno), errno, ## arg);print_trace();abort();}
-#define info(format, arg...) printf("%s:%d: " format , __FILE__ , __LINE__ ,## arg)
-#define warn(format, arg...) printf("%s:%d: " format , __FILE__ , __LINE__ ,## arg)
+#define dbg(format, arg...) dsyslog("%s:%d " format , __FILE__ , __LINE__ , ## arg)
+#define err(format, arg...) {esyslog("err:%s:%d: %s (%d): " format , __FILE__ , __LINE__ ,strerror(errno), errno, ## arg);print_trace();abort();}
+#define info(format, arg...) isyslog("%s:%d: " format , __FILE__ , __LINE__ ,## arg)
+#define warn(format, arg...) isyslog("%s:%d: " format , __FILE__ , __LINE__ ,## arg)
#define STATIC
#else
//#define DEBUG