diff --git a/app/modules/file.c b/app/modules/file.c index 80a4ea00..670fab89 100644 --- a/app/modules/file.c +++ b/app/modules/file.c @@ -477,7 +477,7 @@ static int file_readline( lua_State* L ) { GET_FILE_OBJ; - return file_g_read(L, LUAL_BUFFERSIZE, '\n', fd); + return file_g_read(L, FILE_READ_CHUNK, '\n', fd); } // Lua: write("string")