Mercurial > pidgin.yaz
diff src/protocols/msn/servconn.c @ 10773:888d4c328be5
[gaim-migrate @ 12382]
Patch 1149564 from Felipe Contreras:
"[MSN] Cleanups and fixes
I know it fixes a multiple conversation close
notification but it probably fixes more stuff.
I don't know exactly what are the diferences with what
Stu did."
I munged it a bit, to make it compile and stuff.
Please test this, I might have broken it.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 02 Apr 2005 16:38:33 +0000 |
parents | fed2a7c2471d |
children | a1aa681f1448 |
line wrap: on
line diff
--- a/src/protocols/msn/servconn.c Sat Apr 02 16:07:20 2005 +0000 +++ b/src/protocols/msn/servconn.c Sat Apr 02 16:38:33 2005 +0000 @@ -384,9 +384,9 @@ { msn_cmdproc_process_cmd_text(servconn->cmdproc, cur); } - } while (servconn->connected && servconn->rx_len > 0); + } while (servconn->connected && !servconn->wasted && servconn->rx_len > 0); - if (servconn->connected) + if (servconn->connected && !servconn->wasted) { if (servconn->rx_len > 0) servconn->rx_buf = g_memdup(cur, servconn->rx_len);