diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-06 02:02:03 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-06 02:02:03 +0200 |
commit | d39e08cc5483dc924f3b764b87042fb6aebb722d (patch) | |
tree | 32ef5b7b9201a631f1bb09e202b3dd70db8ac44b /src/sdpd-service.c | |
parent | 752eb63024b86444a8395954ff51d5eaf7d77550 (diff) |
Convert SDP *_safe functions to default API
Diffstat (limited to 'src/sdpd-service.c')
-rw-r--r-- | src/sdpd-service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdpd-service.c b/src/sdpd-service.c index 09459f43..cf120b89 100644 --- a/src/sdpd-service.c +++ b/src/sdpd-service.c @@ -440,7 +440,7 @@ static sdp_record_t *extract_pdu_server(bdaddr_t *device, uint8_t *p, int bufsiz sdp_data_t *pAttr = NULL; uint32_t handle = 0xffffffff; - *scanned = sdp_extract_seqtype_safe(p, bufsize, &dtd, &seqlen); + *scanned = sdp_extract_seqtype(p, bufsize, &dtd, &seqlen); p += *scanned; bufsize -= *scanned; @@ -498,7 +498,7 @@ static sdp_record_t *extract_pdu_server(bdaddr_t *device, uint8_t *p, int bufsiz debug("DTD of attrId : %d Attr id : 0x%x", dtd, attrId); - pAttr = sdp_extract_attr_safe(p + attrSize, bufsize - attrSize, + pAttr = sdp_extract_attr(p + attrSize, bufsize - attrSize, &attrValueLength, rec); debug("Attr id : 0x%x attrValueLength : %d", attrId, attrValueLength); |