[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-3/kdebluetooth/libqobex/qobex
From:       Fred SchÃĪttgen <kde.sch () ttgen ! net>
Date:       2004-05-01 23:18:25
Message-ID: 20040501231825.AE3719A81 () office ! kde ! org
[Download RAW message or body]

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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic