[/trunk] Changeset 264 by mikael
* Ok, yet another stupid typo (arf-arf...). Now it compiles ;)
* Cosmetic comment move
--- a/mcabber/src/histolog.c Sat Jun 25 08:35:50 2005 +0000
+++ b/mcabber/src/histolog.c Sat Jun 25 08:40:00 2005 +0000
@@ -199,12 +199,11 @@
}
// Small check for too long messages
if (tail >= HBB_BLOCKSIZE+18+format_off + data) {
- scr_LogPrint("A message could be too big in history file...");
- tail-data-format_off-18);
// Maybe we will have a parse error on next, because this
// message is big (maybe too big).
+ scr_LogPrint("A message could be too big in history file...");
}
- // Remove last CR
+ // Remove last CR (we keep it if the line is empty, too)
if ((tail > data+18+format_off) && (*(tail-1) == '\n'))
*(tail-1) = 0;