diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-07-10 21:47:49 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:22:01 +0100 |
commit | 58cd14d209ae86ee99e909f034d14c52bdef1d1a (patch) | |
tree | 9bae7a28961013efc09b1af2f3346bf132fca4f7 /gobex/gobex-packet.c | |
parent | cdcde596874e3a698b674c4ef0c47f13232bbe8c (diff) | |
download | bluez-58cd14d209ae86ee99e909f034d14c52bdef1d1a.tar.gz |
gobex: Remove _ID_ from header type definitions
Diffstat (limited to 'gobex/gobex-packet.c')
-rw-r--r-- | gobex/gobex-packet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gobex/gobex-packet.c b/gobex/gobex-packet.c index 10c1cf70a..679a2dd9f 100644 --- a/gobex/gobex-packet.c +++ b/gobex/gobex-packet.c @@ -267,7 +267,7 @@ GObexPacket *g_obex_packet_decode(const void *data, gsize len, final = (opcode & FINAL_BIT) ? TRUE : FALSE; opcode &= ~FINAL_BIT; - pkt = g_obex_packet_new(opcode, final, G_OBEX_HDR_ID_INVALID); + pkt = g_obex_packet_new(opcode, final, G_OBEX_HDR_INVALID); if (header_offset == 0) goto headers; @@ -300,9 +300,9 @@ static gssize get_body(GObexPacket *pkt, guint8 *buf, gsize len) return ret; if (ret > 0) - buf[0] = G_OBEX_HDR_ID_BODY; + buf[0] = G_OBEX_HDR_BODY; else - buf[0] = G_OBEX_HDR_ID_BODY_END; + buf[0] = G_OBEX_HDR_BODY_END; u16 = g_htons(ret + 3); memcpy(&buf[1], &u16, sizeof(u16)); |