diff options
author | Guenter Knauf <lists@gknw.net> | 2014-12-13 13:29:59 +0100 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2014-12-13 13:38:37 +0100 |
commit | e98b7b1cb33f064767258f628959e1ca783b7934 (patch) | |
tree | 3a16529ac44f5f50005ad431997ead8bdd1328d9 /docs | |
parent | 5f5814ca5e94e6c11d4d3007ea1a845810e085a2 (diff) |
synctime.c: fixed timeserver URLs.
For getting the date header its not necessary to access special
pages or even CGI scripts - all pages including the main index
reply with the date header, therefore shortened URLs to domain.
Removed worldtime.com; added pool.ntp.org.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/synctime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/synctime.c b/docs/examples/synctime.c index 1cb3f8750..2bbf951fc 100644 --- a/docs/examples/synctime.c +++ b/docs/examples/synctime.c @@ -104,10 +104,10 @@ typedef struct const char DefaultTimeServer[4][MAX_STRING1] = { - "http://nist.time.gov/timezone.cgi?UTC/s/0", + "http://pool.ntp.org/", + "http://nist.time.gov/", "http://www.google.com/", - "http://www.worldtimeserver.com/current_time_in_UTC.aspx", - "http://www.worldtime.com/cgi-bin/wt.cgi" + "http://www.worldtimeserver.com/" }; const char *DayStr[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; |