comparison mcabber/src/screen.c @ 252:cb7f944741e4

[/trunk] Changeset 265 by mikael * Don't send "too big" messages in multi-line mode * TODO & ChangeLog updates
author mikael
date Sat, 25 Jun 2005 08:43:24 +0000
parents 8e30b2bb380e
children 33e1a05864a6
comparison
equal deleted inserted replaced
251:806fcdd3b5da 252:cb7f944741e4
1130 scr_LogPrint("Error: Not in multi-line message mode!"); 1130 scr_LogPrint("Error: Not in multi-line message mode!");
1131 return; 1131 return;
1132 } 1132 }
1133 if (multiline) { 1133 if (multiline) {
1134 int len = strlen(multiline)+strlen(line)+2; 1134 int len = strlen(multiline)+strlen(line)+2;
1135 if (len >= HBB_BLOCKSIZE) { 1135 if (len >= HBB_BLOCKSIZE - 1) {
1136 // We don't handle single messages with size > HBB_BLOCKSIZE 1136 // We don't handle single messages with size > HBB_BLOCKSIZE
1137 // (see hbuf) 1137 // (see hbuf)
1138 scr_LogPrint("Your multi-line message is too big, this line has " 1138 scr_LogPrint("Your multi-line message is too big, this line has "
1139 "not been added."); 1139 "not been added.");
1140 scr_LogPrint("Please send this part now..."); 1140 scr_LogPrint("Please send this part now...");