From 8f3c51386929c432af4d78c1e8ab1d82a1f6ac8b Mon Sep 17 00:00:00 2001 From: Alok Barsode Date: Fri, 3 Feb 2012 20:26:00 +0200 Subject: 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. --- src/ntp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ntp.c') diff --git a/src/ntp.c b/src/ntp.c index f70dfc73..4d3cd888 100644 --- a/src/ntp.c +++ b/src/ntp.c @@ -329,7 +329,7 @@ send: int __connman_ntp_start(char *server) { - DBG(""); + DBG("%s", server); if (server == NULL) return -EINVAL; -- cgit v1.2.3