Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: another dvr_config_find_by_name_default fix
  • Loading branch information
perexg committed Sep 17, 2014
1 parent c94e2b9 commit 9ac202d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dvr/dvr_config.c
Expand Up @@ -69,7 +69,7 @@ dvr_config_find_by_name_default(const char *name)
if (dvrdefaultconfig == NULL)
dvrdefaultconfig = dvr_config_find_by_name(NULL);

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

0 comments on commit 9ac202d

Please sign in to comment.