Sat, 11 Oct 2003 01:58:59 +0000
[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; }