many others, a complete list can be found in the file AUTHORS.
This program is Free Software; you can redistribute it and/or
modify it under the terms of version two of the GNU General Public
- License as published by the Free Software Foundation plus additions
- that are listed in the file LICENSE.
+ License as published by the Free Software Foundation and included
+ in the file LICENSE.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
struct tm tm;
char tzbuf[MAXSTRING];
long my_timezone;
- struct timeval tv;
- struct timezone tz;
/* Add RFC822 date */
(void)localtime_r(&now, &tm);
my_timezone /= 60;
#else
+ struct timeval tv;
+ struct timezone tz;
gettimeofday(&tv, &tz);
my_timezone = tz.tz_minuteswest; /* timezone offset in mins */
#endif
exit(1);
}
-#if defined(HAVE_WIN32)
- _setmode(0, _O_BINARY);
-#endif
/*
* Determine SMTP server
#if defined(HAVE_WIN32)
WSADATA wsaData;
+ _setmode(0, _O_BINARY);
WSAStartup(MAKEWORD(2,2), &wsaData);
#endif