OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1b87b
)
gobex: Fix packet length updating when parsing headers
author
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 29 Jun 2011 10:36:20 +0000
(13:36 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 4 Dec 2012 21:21:57 +0000
(22:21 +0100)
gobex/gobex-packet.c
patch
|
blob
|
history
diff --git
a/gobex/gobex-packet.c
b/gobex/gobex-packet.c
index
957e1cc
..
6ac77bf
100644
(file)
--- 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;