From 919da6fe5013969899feff8197f0e40204f09060 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 22 Dec 2014 16:51:44 +0000 Subject: [PATCH] fix de_get_uuid32 --- src/sdp_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdp_util.c b/src/sdp_util.c index e389ba679..823a43cf8 100644 --- a/src/sdp_util.c +++ b/src/sdp_util.c @@ -155,7 +155,7 @@ uint32_t de_get_uuid32(uint8_t * element){ if (!validUuid128) return 0; int hasBlueoothBaseUuid = sdp_has_blueooth_base_uuid(uuid128); if (!hasBlueoothBaseUuid) return 0; - return READ_NET_32(element, 0); + return READ_NET_32(uuid128, 0); } // functions to create record