1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 12:43:11 +02:00

Fixed windows build more, including ldap

This commit is contained in:
Adam
2011-03-30 00:55:45 -04:00
parent 77c98f0750
commit 8098ed899a
7 changed files with 71 additions and 54 deletions
-2
View File
@@ -52,7 +52,6 @@ static Anope::string GetTimeStamp()
if (time(&t) < 0)
throw CoreException("time() failed");
tm tm = *localtime(&t);
#if HAVE_GETTIMEOFDAY
if (debug)
{
char *s;
@@ -64,7 +63,6 @@ static Anope::string GetTimeStamp()
strftime(s, sizeof(tbuf) - (s - tbuf) - 1, " %Y]", &tm);
}
else
#endif
strftime(tbuf, sizeof(tbuf) - 1, "[%b %d %H:%M:%S %Y]", &tm);
return tbuf;