[gaim-migrate @ 7806]

Sat, 11 Oct 2003 01:58:59 +0000

author
Nathan Walp <nwalp@pidgin.im>
date
Sat, 11 Oct 2003 01:58:59 +0000
changeset 7234
a4900df91d90
parent 7233
1250651d5939
child 7235
7cec09c2efe4

[gaim-migrate @ 7806]
don't infiloop on failed file xfers

src/protocols/jabber/oob.c file | annotate | diff | comparison | revisions
--- a/src/protocols/jabber/oob.c	Sat Oct 11 01:43:52 2003 +0000
+++ b/src/protocols/jabber/oob.c	Sat Oct 11 01:58:59 2003 +0000
@@ -19,6 +19,7 @@
  *
  */
 #include "internal.h"
+#include "debug.h"
 #include "ft.h"
 #include "util.h"
 
@@ -107,7 +108,11 @@
 			}
 		jox->newline = FALSE;
 		return 0;
+	} else {
+		gaim_debug(GAIM_DEBUG_ERROR, "jabber", "Read error on oob xfer!\n");
+		gaim_xfer_cancel_local(xfer);
 	}
+
 	return 0;
 }
 

mercurial