# HG changeset patch # User Nathan Walp # Date 1065837539 0 # Node ID cd0cedf0edd015db46839b3655530dfa4ecd819c # Parent a0801eac684ddf4490758921c915a005c02ac23d [gaim-migrate @ 7806] don't infiloop on failed file xfers committer: Tailor Script diff -r a0801eac684d -r cd0cedf0edd0 src/protocols/jabber/oob.c --- 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; }