Mercurial > pidgin.yaz
comparison src/protocols/msn/msg.c @ 9092:9e5a709c30a8
[gaim-migrate @ 9869]
More patches by shx. These prevent disconnects with message lengths that
are past the allowed MSN message length, fixes pager messages, and provides
a better error dialog stuff for MSN errors. I hope I got that all right. :)
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 27 May 2004 08:19:29 +0000 |
parents | d16e1bfaf08a |
children | c30d81b4dd22 |
comparison
equal
deleted
inserted
replaced
9091:97a1fb329cd2 | 9092:9e5a709c30a8 |
---|---|
472 "do not match!\n", msg->size, strlen(str)); | 472 "do not match!\n", msg->size, strlen(str)); |
473 } | 473 } |
474 } | 474 } |
475 | 475 |
476 if (ret_size != NULL) | 476 if (ret_size != NULL) |
477 { | |
477 *ret_size = len - 1; | 478 *ret_size = len - 1; |
479 | |
480 if (*ret_size > 1664) | |
481 *ret_size = 1664; | |
482 } | |
478 | 483 |
479 return str; | 484 return str; |
480 } | 485 } |
481 | 486 |
482 void | 487 void |