Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix crash
  • Loading branch information
Glenn-1990 authored and perexg committed Dec 20, 2016
1 parent 23bf955 commit e1181b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/htsp_server.c
Expand Up @@ -1311,7 +1311,8 @@ htsp_method_authenticate(htsp_connection_t *htsp, htsmsg_t *in)
htsmsg_add_u32(r, "limitstreaming", htsp->htsp_granted_access->aa_conn_limit_streaming);
htsmsg_add_u32(r, "uilevel", htsp->htsp_granted_access->aa_uilevel == UILEVEL_DEFAULT ?
config.uilevel : htsp->htsp_granted_access->aa_uilevel);
htsmsg_add_str(r, "uilanguage", htsp->htsp_granted_access->aa_lang_ui);
htsmsg_add_str(r, "uilanguage", htsp->htsp_granted_access->aa_lang_ui ?
htsp->htsp_granted_access->aa_lang_ui : (config.language_ui ? config.language_ui : ""));
}

return r;
Expand Down

0 comments on commit e1181b2

Please sign in to comment.