chiark / gitweb /
timedated: fix enable/disable reversal
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 21 Mar 2015 23:21:17 +0000 (19:21 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 21 Mar 2015 23:55:33 +0000 (19:55 -0400)
commit81b843990297ad8c813c531fccd8da30bb715bd6
tree4d06423f437bd537b5afcca7127e6a5431524b70
parentdf823e23f04da832ad5fc078176f8c26597a9845
timedated: fix enable/disable reversal

Bug introduced in 984f1b1d1b. The state was flipped later,
but the enable/disable routine made use of the state to decide
what to do.

context_enable_ntp() and context_start_ntp() now get the desired
state directly, so the Context parameter can be removed.
src/timedate/timedated.c