Diff between 9166ea3ffd87ff073a9bc6446d778ff60c91359e and b53a70510fd0f94566d8f5e435d038248a9aaae2

Changed Files

File Additions Deletions Status
gobex/gobex.c +1 -1 modified

Full Patch

diff --git a/gobex/gobex.c b/gobex/gobex.c
index 0853a9b..c1e7dc4 100644
--- a/gobex/gobex.c
+++ b/gobex/gobex.c
@@ -1163,7 +1163,7 @@ static gboolean incoming_data(GIOChannel *io, GIOCondition cond,
 	} else {
 		opcode = obex->rx_last_op;
 		/* Unexpected response -- fail silently */
-		if (opcode > 0x1f && opcode < 0xff) {
+		if (opcode > 0x1f && opcode != G_OBEX_OP_ABORT) {
 			obex->rx_data = 0;
 			return TRUE;
 		}