From faafb16097a99e2d575431e7e1d8ffa22d6989b0 Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Wed, 23 May 2012 11:17:49 +0100 Subject: [PATCH] Remove some debug and fix a minor bug. --- src/epg.c | 1 - src/epggrab/pyepg.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/epg.c b/src/epg.c index 53ff8537..9f57662c 100644 --- a/src/epg.c +++ b/src/epg.c @@ -1127,7 +1127,6 @@ int epg_channel_set_name ( epg_channel_t *channel, const char *name ) int save = 0; channel_t *ch; if ( !channel || !name ) return 0; - printf("channel %s set name %s\n", channel->ec_uri, name); if ( !channel->ec_name || strcmp(channel->ec_name, name) ) { channel->ec_name = strdup(name); if ( !channel->ec_channel ) { diff --git a/src/epggrab/pyepg.c b/src/epggrab/pyepg.c index ed223cec..be664443 100644 --- a/src/epggrab/pyepg.c +++ b/src/epggrab/pyepg.c @@ -356,8 +356,8 @@ static htsmsg_t* _pyepg_grab ( const char *iopts ) argv[i++] = tok; tok = strtok_r(NULL, " ", &toksave); } - argv[i] = NULL; } + argv[i] = NULL; /* Debug */ tvhlog(LOG_DEBUG, "pyepg", "grab %s %s", argv[0], iopts ? iopts : "");