diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-08-30 12:57:09 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:22:02 +0100 |
commit | afc903b0f3b2cbb17604d65c547b24c273a59c18 (patch) | |
tree | 7c5607b0f3486c2f0488d70811b4ff5b156f2305 /gobex | |
parent | 4549f997e8523358ff812aac09465364f6f77b7b (diff) | |
download | bluez-afc903b0f3b2cbb17604d65c547b24c273a59c18.tar.gz |
gobex: Add support for Action command header offset (0)
Diffstat (limited to 'gobex')
-rw-r--r-- | gobex/gobex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gobex/gobex.c b/gobex/gobex.c index 5d63c6e9d..0119c46ae 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; |