src/protocols/jabber/oob.c

changeset 7234
a4900df91d90
parent 7170
93a12931a1fd
child 7395
e5595e8e13e4
--- 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