Skip to content

Commit

Permalink
synctime.c: fixed timeserver URLs.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gknauf committed Dec 13, 2014
1 parent 5f5814c commit e98b7b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/examples/synctime.c
Expand Up @@ -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"};
Expand Down

0 comments on commit e98b7b1

Please sign in to comment.