Fixed timestamp
authorJohn Hodge <[email protected]>
Sat, 19 Feb 2011 03:12:54 +0000 (11:12 +0800)
committerJohn Hodge <[email protected]>
Sat, 19 Feb 2011 03:12:54 +0000 (11:12 +0800)
src/server/server.c

index f4b25d8..46cb4c6 100644 (file)
@@ -1160,7 +1160,7 @@ void Server_Cmd_USERFLAGS(tClient *Client, char *Args)
 void Debug(tClient *Client, const char *Format, ...)
 {
        va_list args;
-       printf("%010lli [%i] ", time(NULL), Client->ID);
+       printf("%010i [%i] ", (int)time(NULL), Client->ID);
        va_start(args, Format);
        vprintf(NULL, 0, Format, args);
        va_end(args);

UCC git Repository :: git.ucc.asn.au