Mercurial > pidgin.yaz
diff src/protocols/msn/msg.c @ 19774:ea23c4c010cf
[gaim-migrate @ 17006]
fix msg send bug
tested ok on windows
committed by MaYuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
author | Ma Yuan <mayuan2006@gmail.com> |
---|---|
date | Wed, 23 Aug 2006 17:01:31 +0000 |
parents | 1aa5494587e8 |
children | 21cb7a79ac7f |
line wrap: on
line diff
--- a/src/protocols/msn/msg.c Wed Aug 23 16:25:54 2006 +0000 +++ b/src/protocols/msn/msg.c Wed Aug 23 17:01:31 2006 +0000 @@ -468,16 +468,14 @@ } else { - if (body != NULL) - { + if (body != NULL){ memcpy(n, body, body_len); n += body_len; -// n = '\0'; + *n = '\0'; } } - if (ret_size != NULL) - { + if (ret_size != NULL){ *ret_size = n - base; if (*ret_size > 1664)