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.
This commit is contained in:
parent
5f5814ca5e
commit
e98b7b1cb3
@ -104,10 +104,10 @@ typedef struct
|
|||||||
|
|
||||||
const char DefaultTimeServer[4][MAX_STRING1] =
|
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.google.com/",
|
||||||
"http://www.worldtimeserver.com/current_time_in_UTC.aspx",
|
"http://www.worldtimeserver.com/"
|
||||||
"http://www.worldtime.com/cgi-bin/wt.cgi"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *DayStr[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
|
const char *DayStr[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user