diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-08-03 07:45:45 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-08-03 07:45:45 +0000 |
commit | 6db62cfa3a8de69270cc5e5689b633f43c02e041 (patch) | |
tree | 2b1e3fe482be5eca5749881b985b192468eb7ff0 /src/sdp.c | |
parent | fb1557c4111ca9993e4927af6f65bdbf9c2fa8ec (diff) |
Fix request size calculation for device specific register
Diffstat (limited to 'src/sdp.c')
-rw-r--r-- | src/sdp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |