Mercurial > hg
changeset 394:4617d0f029ea
Update "large file" size value to 3MB
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 04 Aug 2005 23:11:14 +0100 |
parents | f8f3c7493457 |
children | 3e4f2f98c0bf |
files | mcabber/src/histolog.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/histolog.c Thu Aug 04 23:04:54 2005 +0100 +++ b/mcabber/src/histolog.c Thu Aug 04 23:11:14 2005 +0100 @@ -144,11 +144,11 @@ g_free(filename); if (!fp) { g_free(data); return; } - // If file is large (> 512 here), display a message to inform the user + // If file is large (> 3MB here), display a message to inform the user // (it can take a while...) if (!fstat(fileno(fp), &bufstat)) { - if (bufstat.st_size > 524288) - scr_LogPrint(LPRINT_NORMAL, "Reading <%s> history file...", jid); + if (bufstat.st_size > 3145728) + scr_LogPrint(LPRINT_LOGNORM, "Reading <%s> history file...", jid); } /* See write_histo_line() for line format... */