comparison 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
comparison
equal deleted inserted replaced
10772:12aa8ce77077 10773:888d4c328be5
382 } 382 }
383 else 383 else
384 { 384 {
385 msn_cmdproc_process_cmd_text(servconn->cmdproc, cur); 385 msn_cmdproc_process_cmd_text(servconn->cmdproc, cur);
386 } 386 }
387 } while (servconn->connected && servconn->rx_len > 0); 387 } while (servconn->connected && !servconn->wasted && servconn->rx_len > 0);
388 388
389 if (servconn->connected) 389 if (servconn->connected && !servconn->wasted)
390 { 390 {
391 if (servconn->rx_len > 0) 391 if (servconn->rx_len > 0)
392 servconn->rx_buf = g_memdup(cur, servconn->rx_len); 392 servconn->rx_buf = g_memdup(cur, servconn->rx_len);
393 else 393 else
394 servconn->rx_buf = NULL; 394 servconn->rx_buf = NULL;