mirror of
https://github.com/anope/anope.git
synced 2026-06-24 20:26:39 +02:00
Abolish the few remaining uses of BUFSIZE.
This commit is contained in:
+1
-1
@@ -685,7 +685,7 @@ Anope::string Anope::strftime(time_t t, const NickCore *nc, bool short_output)
|
||||
tzset();
|
||||
}
|
||||
|
||||
char buf[BUFSIZE];
|
||||
char buf[256];
|
||||
strftime(buf, sizeof(buf), "%c", (nc ? localtime(&t) : gmtime(&t)));
|
||||
|
||||
if (nc)
|
||||
|
||||
Reference in New Issue
Block a user