diff options
author | Alok Barsode <alok.barsode@linux.intel.com> | 2012-02-03 20:26:00 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-02-04 01:15:36 +0100 |
commit | 8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b (patch) | |
tree | 5c4f10d0a52f75cb8ddf2da311b29a6460accabd /src/ntp.c | |
parent | 1db29a8c79e10f801d8d9ce0c861bf8b0a972f4d (diff) | |
download | connman-8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b.tar.gz connman-8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b.tar.bz2 connman-8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b.zip |
Add __connman_timerserver_sync() to resolve a list of timeservers
__connman_timerserver_sync() resolves system timeservers one at a time
and queries the resolved server or the 1st of the resolved servers for
time correction. If the resolution fails it resolves the next one.
__connman_timerserver_sync_next() resolves the next system timeserver.
__connman_timerserver_stop() stops this query.If the user modifies the
system timeserver list, we restart the ntp process.
Diffstat (limited to 'src/ntp.c')
-rw-r--r-- | src/ntp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -329,7 +329,7 @@ send: int __connman_ntp_start(char *server) { - DBG(""); + DBG("%s", server); if (server == NULL) return -EINVAL; |