Petri Kero pointed out a FreeLibrary() call that should be guarded by NO_IPV6.
[u/mdw/putty] / time.c
CommitLineData
aca589d9 1#include <time.h>
2#include <assert.h>
3
4struct tm ltime(void)
5{
6 time_t t;
7 time(&t);
8 assert (t != ((time_t)-1));
9 return *localtime(&t);
10}