comparison mcabber/src/histolog.c @ 251:806fcdd3b5da

[/trunk] Changeset 264 by mikael * Ok, yet another stupid typo (arf-arf...). Now it compiles ;) * Cosmetic comment move
author mikael
date Sat, 25 Jun 2005 08:40:00 +0000
parents 84de80cbbd2c
children 594e73bc9610
comparison
equal deleted inserted replaced
250:84de80cbbd2c 251:806fcdd3b5da
197 197
198 while (*tail) tail++; 198 while (*tail) tail++;
199 } 199 }
200 // Small check for too long messages 200 // Small check for too long messages
201 if (tail >= HBB_BLOCKSIZE+18+format_off + data) { 201 if (tail >= HBB_BLOCKSIZE+18+format_off + data) {
202 scr_LogPrint("A message could be too big in history file...");
203 tail-data-format_off-18);
204 // Maybe we will have a parse error on next, because this 202 // Maybe we will have a parse error on next, because this
205 // message is big (maybe too big). 203 // message is big (maybe too big).
206 } 204 scr_LogPrint("A message could be too big in history file...");
207 // Remove last CR 205 }
206 // Remove last CR (we keep it if the line is empty, too)
208 if ((tail > data+18+format_off) && (*(tail-1) == '\n')) 207 if ((tail > data+18+format_off) && (*(tail-1) == '\n'))
209 *(tail-1) = 0; 208 *(tail-1) = 0;
210 209
211 if (oldformat) 210 if (oldformat)
212 pleaseconvert = 1; 211 pleaseconvert = 1;