Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
wizard: coverity fix
  • Loading branch information
perexg committed Jun 1, 2016
1 parent 1c0252c commit 1ea906b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wizard.c
Expand Up @@ -307,7 +307,7 @@ static void login_changed(idnode_t *in)
passwd_entry_destroy(pw, 1);
}

s = w->admin_username[0] ? (w->admin_username ?: "") : "*";
s = w->admin_username[0] ? w->admin_username : "*";
conf = htsmsg_create_map();
htsmsg_add_bool(conf, "enabled", 1);
htsmsg_add_str(conf, "prefix", w->network);
Expand Down

0 comments on commit 1ea906b

Please sign in to comment.