Changeset 4894 for source


Ignore:
Timestamp:
Jul 14, 2009, 9:49:12 AM (15 years ago)
Author:
stud-florian
Message:

Fixed a few minor things, bluetooth compiles again (but still not tested).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp

    r4879 r4894  
    149149
    150150        // prepare the info attribute buffers
     151        string namebuf, info1buf, info2buf, info3buf;
     152        uint8_t namelen, info1len, info2len, info3len;
     153
    151154        namelen = (uint8_t)name.length();
    152155        info1len = (uint8_t)info1.length();
     
    207210        sdp_set_info_attr(&record, service_name, service_prov, svc_dsc);
    208211
    209 
    210         // add the info attributes
    211         uint8_t namelen, info1len, info2len, info3len;
    212         string namebuf, info1buf, info2buf, info3buf;
    213 
    214 
    215212        sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_NAME, SDP_TEXT_STR32,
    216213                        namebuf.data());
     
    346343        // prepare the buffers for the attributes
    347344        string name, info1, info2, info3;
    348         name.reserve(2**32);
     345        name.reserve(256);
    349346
    350347        // connect to the SDP server running on the remote machine
Note: See TracChangeset for help on using the changeset viewer.