Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
find_by list routines : fix ommited copy
  • Loading branch information
perexg committed Oct 16, 2014
1 parent f5d700e commit 40d0ac4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dvr/dvr_config.c
Expand Up @@ -118,6 +118,8 @@ dvr_config_find_by_list(htsmsg_t *uuids, const char *name)
res = NULL;
}
}
} else {
res = cfg;
}
if (!res)
res = dvr_config_find_by_name_default(NULL);
Expand Down
2 changes: 2 additions & 0 deletions src/profile.c
Expand Up @@ -347,6 +347,8 @@ profile_find_by_list(htsmsg_t *uuids, const char *name, const char *alt)
res = NULL;
}
}
} else {
res = pro;
}
if (!res)
res = profile_find_by_name(NULL, NULL);
Expand Down

0 comments on commit 40d0ac4

Please sign in to comment.