changeset 2970:f7f7c9223312

[gaim-migrate @ 2983] Blah committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 17 Feb 2002 22:11:32 +0000
parents a67cae459b01
children b03a428264ae
files src/protocols/msn/msn.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sun Feb 17 21:16:02 2002 +0000
+++ b/src/protocols/msn/msn.c	Sun Feb 17 22:11:32 2002 +0000
@@ -538,6 +538,10 @@
 	int cont = 1;
 	int len;
 
+	/* This is really stupid and I hate to put this here. */
+	if (ms->fd != source)
+		ms->fd = source;
+
 	len = read(ms->fd, buf, sizeof(buf));
 
 	if (len <= 0) {