summaryrefslogtreecommitdiffstats
path: root/src/sdp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-08-03 07:45:45 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-08-03 07:45:45 +0000
commit6db62cfa3a8de69270cc5e5689b633f43c02e041 (patch)
tree2b1e3fe482be5eca5749881b985b192468eb7ff0 /src/sdp.c
parentfb1557c4111ca9993e4927af6f65bdbf9c2fa8ec (diff)
Fix request size calculation for device specific register
Diffstat (limited to 'src/sdp.c')
-rw-r--r--src/sdp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdp.c b/src/sdp.c
index 22fcd362..d920a753 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -2322,6 +2322,7 @@ int sdp_device_record_register(sdp_session_t *session, bdaddr_t *device, sdp_rec
*p++ = flags | SDP_DEVICE_RECORD;
bacpy((bdaddr_t *) p, device);
p += sizeof(bdaddr_t);
+ reqsize += sizeof(bdaddr_t);
} else
*p++ = flags;
if (sdp_gen_record_pdu(rec, &pdu) < 0) {