]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Remove some debug and fix a minor bug.
authorAdam Sutton <dev@adamsutton.me.uk>
Wed, 23 May 2012 10:17:49 +0000 (11:17 +0100)
committerAdam Sutton <dev@adamsutton.me.uk>
Mon, 30 Jul 2012 14:46:52 +0000 (15:46 +0100)
src/epg.c
src/epggrab/pyepg.c

index 53ff8537c218c5b8de67b3ddb8e9f91856b12b45..9f57662c1bafe573de67a95d6f7600d7f3ccc7de 100644 (file)
--- 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 ) {
index ed223cecfe8cddc9092dccdb5523744448d30d34..be664443f94cf8b31359997329c48d1481e95bda 100644 (file)
@@ -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 : "");