comparison src/protocols/jabber/oob.c @ 7234:cd0cedf0edd0

[gaim-migrate @ 7806] don't infiloop on failed file xfers committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 11 Oct 2003 01:58:59 +0000
parents 1cf80749f2f0
children b250288fa948
comparison
equal deleted inserted replaced
7233:a0801eac684d 7234:cd0cedf0edd0
17 * along with this program; if not, write to the Free Software 17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 * 19 *
20 */ 20 */
21 #include "internal.h" 21 #include "internal.h"
22 #include "debug.h"
22 #include "ft.h" 23 #include "ft.h"
23 #include "util.h" 24 #include "util.h"
24 25
25 #include "jabber.h" 26 #include "jabber.h"
26 #include "iq.h" 27 #include "iq.h"
105 jox->newline = TRUE; 106 jox->newline = TRUE;
106 return 0; 107 return 0;
107 } 108 }
108 jox->newline = FALSE; 109 jox->newline = FALSE;
109 return 0; 110 return 0;
111 } else {
112 gaim_debug(GAIM_DEBUG_ERROR, "jabber", "Read error on oob xfer!\n");
113 gaim_xfer_cancel_local(xfer);
110 } 114 }
115
111 return 0; 116 return 0;
112 } 117 }
113 118
114 static void jabber_oob_xfer_cancel_send(GaimXfer *xfer) { 119 static void jabber_oob_xfer_cancel_send(GaimXfer *xfer) {
115 } 120 }