From: Nathan W. <fac...@us...> - 2003-10-11 01:59:03
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1:/tmp/cvs-serv24344/src/protocols/jabber Modified Files: oob.c Log Message: don't infiloop on failed file xfers Index: oob.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/oob.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -p -r1.1 -r1.2 --- oob.c 6 Oct 2003 02:04:55 -0000 1.1 +++ oob.c 11 Oct 2003 01:58:59 -0000 1.2 @@ -19,6 +19,7 @@ * */ #include "internal.h" +#include "debug.h" #include "ft.h" #include "util.h" @@ -107,7 +108,11 @@ static size_t jabber_oob_xfer_read(char } 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; } |