comparison src/protocols/msn/msg.c @ 10274:3016b1b32339

[gaim-migrate @ 11424] Don't allow sending oversized messages on MSN - they wouldn't get there, and the switchboard server would disconnect us. Also fix up the oversized message truncation which should have been truncating the messages anyway. Add support for sending strikethrough on MSN (not that anyone can actually enter strikethrough tags yet) And a slight change to the building of chat user status icons. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 27 Nov 2004 19:39:25 +0000
parents ecf3ce2e2ab1
children d9468bd22b7c
comparison
equal deleted inserted replaced
10273:891141c68573 10274:3016b1b32339
427 } 427 }
428 } 428 }
429 429
430 if (ret_size != NULL) 430 if (ret_size != NULL)
431 { 431 {
432 *ret_size = n - base;
433
432 if (*ret_size > 1664) 434 if (*ret_size > 1664)
433 *ret_size = 1664; 435 *ret_size = 1664;
434
435 *ret_size = n - base;
436 } 436 }
437 437
438 return base; 438 return base;
439 } 439 }
440 440