mirror of
https://github.com/anope/anope.git
synced 2026-06-25 15:06:37 +02:00
Abolish the few remaining uses of BUFSIZE.
This commit is contained in:
+1
-1
@@ -754,7 +754,7 @@ bool File::End() const
|
||||
Anope::string File::Read()
|
||||
{
|
||||
Anope::string ret;
|
||||
char buf[BUFSIZE];
|
||||
char buf[1024];
|
||||
while (fgets(buf, sizeof(buf), this->fp) != NULL)
|
||||
{
|
||||
char *nl = strchr(buf, '\n');
|
||||
|
||||
Reference in New Issue
Block a user