Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: Fix dvr_config_find_by_name_default, attempt #2
  • Loading branch information
perexg committed Sep 17, 2014
1 parent 6ddd022 commit 0cd4319
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dvr/dvr_config.c
Expand Up @@ -66,6 +66,9 @@ dvr_config_find_by_name_default(const char *name)
{
dvr_config_t *cfg;

if (dvrdefaultconfig == NULL)
dvrdefaultconfig = dvr_config_find_by_name(NULL);

if (LIST_FIRST(&dvrconfigs) == NULL) {
cfg = dvr_config_create("", NULL, NULL);
assert(cfg);
Expand Down

0 comments on commit 0cd4319

Please sign in to comment.