Diff between 4549f997e8523358ff812aac09465364f6f77b7b and afc903b0f3b2cbb17604d65c547b24c273a59c18

Changed Files

File Additions Deletions Status
gobex/gobex.c +2 -0 modified

Full Patch

diff --git a/gobex/gobex.c b/gobex/gobex.c
index 5d63c6e..0119c46 100644
--- a/gobex/gobex.c
+++ b/gobex/gobex.c
@@ -122,6 +122,7 @@ static ssize_t req_header_offset(guint8 opcode)
 	case G_OBEX_OP_GET:
 	case G_OBEX_OP_SESSION:
 	case G_OBEX_OP_ABORT:
+	case G_OBEX_OP_ACTION:
 		return 0;
 	default:
 		return -1;
@@ -139,6 +140,7 @@ static ssize_t rsp_header_offset(guint8 opcode)
 	case G_OBEX_OP_GET:
 	case G_OBEX_OP_SESSION:
 	case G_OBEX_OP_ABORT:
+	case G_OBEX_OP_ACTION:
 		return 0;
 	default:
 		return -1;