From d39e08cc5483dc924f3b764b87042fb6aebb722d Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 6 Aug 2008 02:02:03 +0200 Subject: Convert SDP *_safe functions to default API --- src/sdpd-service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sdpd-service.c') 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); -- cgit