Changeset 4894 for source/ariba/utility/bootstrap
- Timestamp:
- Jul 14, 2009, 9:49:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp
r4879 r4894 149 149 150 150 // prepare the info attribute buffers 151 string namebuf, info1buf, info2buf, info3buf; 152 uint8_t namelen, info1len, info2len, info3len; 153 151 154 namelen = (uint8_t)name.length(); 152 155 info1len = (uint8_t)info1.length(); … … 207 210 sdp_set_info_attr(&record, service_name, service_prov, svc_dsc); 208 211 209 210 // add the info attributes211 uint8_t namelen, info1len, info2len, info3len;212 string namebuf, info1buf, info2buf, info3buf;213 214 215 212 sdp_attr_add_new(&record, SDP_ATTR_SPOVNET_NAME, SDP_TEXT_STR32, 216 213 namebuf.data()); … … 346 343 // prepare the buffers for the attributes 347 344 string name, info1, info2, info3; 348 name.reserve(2 **32);345 name.reserve(256); 349 346 350 347 // connect to the SDP server running on the remote machine
Note:
See TracChangeset
for help on using the changeset viewer.