From: Adam Sutton Date: Wed, 23 May 2012 10:17:49 +0000 (+0100) Subject: Remove some debug and fix a minor bug. X-Git-Tag: 3.3~421 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=faafb16097a99e2d575431e7e1d8ffa22d6989b0;p=thirdparty%2Ftvheadend.git Remove some debug and fix a minor bug. --- diff --git a/src/epg.c b/src/epg.c index 53ff8537c..9f57662c1 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 ed223cecf..be664443f 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 : "");