Fixed bug so disabling ntp option works
This commit is contained in:
parent
03a69ffec6
commit
0f759290d4
1 changed files with 4 additions and 4 deletions
|
@ -1571,10 +1571,10 @@ extjs_config(http_connection_t *hc, const char *remain, void *opaque)
|
|||
config_save();
|
||||
|
||||
/* Time */
|
||||
if ((str = http_arg_get(&hc->hc_req_args, "tvhtime_update_enabled")))
|
||||
tvhtime_set_update_enabled(!!str);
|
||||
if ((str = http_arg_get(&hc->hc_req_args, "tvhtime_ntp_enabled")))
|
||||
tvhtime_set_ntp_enabled(!!str);
|
||||
str = http_arg_get(&hc->hc_req_args, "tvhtime_update_enabled");
|
||||
tvhtime_set_update_enabled(!!str);
|
||||
str = http_arg_get(&hc->hc_req_args, "tvhtime_ntp_enabled");
|
||||
tvhtime_set_ntp_enabled(!!str);
|
||||
if ((str = http_arg_get(&hc->hc_req_args, "tvhtime_tolerance")))
|
||||
tvhtime_set_tolerance(atoi(str));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue