Remove some debug and fix a minor bug.

This commit is contained in:
Adam Sutton 2012-05-23 11:17:49 +01:00
parent 41267995e1
commit faafb16097
2 changed files with 1 additions and 2 deletions

View file

@ -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 ) {

View 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 : "");