diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-06-29 13:36:20 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:21:57 +0100 |
commit | 8bbfd51a9f5c46514037622c8711152c570b91d4 (patch) | |
tree | cd173ed0e6d011da928ba4d9414c4ea0419f9e25 /gobex/gobex-packet.c | |
parent | aa1b87b6d8a8d51632ab31b637d85183944ac3a8 (diff) | |
download | bluez-8bbfd51a9f5c46514037622c8711152c570b91d4.tar.gz |
gobex: Fix packet length updating when parsing headers
Diffstat (limited to 'gobex/gobex-packet.c')
-rw-r--r-- | gobex/gobex-packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gobex/gobex-packet.c b/gobex/gobex-packet.c index 957e1cc39..6ac77bf6a 100644 --- a/gobex/gobex-packet.c +++ b/gobex/gobex-packet.c @@ -160,6 +160,7 @@ static gboolean parse_headers(GObexPacket *pkt, const void *data, gsize len, return FALSE; pkt->headers = g_slist_append(pkt->headers, header); + pkt->hlen += parsed; len -= parsed; buf += parsed; |