From kde-commits Sat May 01 23:18:25 2004 From: =?utf-8?q?Fred=20Sch=C3=A4ttgen?= Date: Sat, 01 May 2004 23:18:25 +0000 To: kde-commits Subject: kdeextragear-3/kdebluetooth/libqobex/qobex Message-Id: <20040501231825.AE3719A81 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=108345351215556 CVS commit by schaettgen: Bugfix: Use the correct attribute Id for SDP requests. It's not just a pure byte order issue, but the it only causes problems on big endian machines. M +2 -3 qobexbttransport.cpp 1.7 --- kdeextragear-3/kdebluetooth/libqobex/qobex/qobexbttransport.cpp #1.6:1.7 @@ -339,7 +339,6 @@ int QObexBtTransport::getRfCommChannel( sdp_list_t *services = sdp_list_append( 0, &svcUuid ); - uuid_t attributeId; - sdp_uuid32_create( &attributeId, 0x0000ffff ); - sdp_list_t *attributes = sdp_list_append( 0, &attributeId ); + unsigned int range = 0x0000ffff; + sdp_list_t *attributes = sdp_list_append( 0, &range ); sdp_list_t *rsp_list = 0;