1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

add a warning if the timezone is not a multiple of 1 minute. This

should catch broken timezone files in slackware linux.
(This used to be commit ce37bd9dcaeaf0c5e97845954342762ebaf43b10)
This commit is contained in:
Andrew Tridgell 1997-12-03 03:46:43 +00:00
parent 69460b470f
commit 2b8247dd09

View File

@ -94,6 +94,11 @@ init the time differences
void TimeInit(void)
{
serverzone = TimeZone(time(NULL));
if ((serverzone % 60) != 0) {
DEBUG(1,("WARNING: Your timezone is not a multiple of 1 minute.\n"));
}
DEBUG(4,("Serverzone is %d\n",serverzone));
}