Changeset 2457
- Timestamp:
- Feb 18, 2009, 2:42:03 PM (16 years ago)
- Location:
- source/ariba
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/EndpointDescriptor.cpp
r2454 r2457 92 92 string ip = nav[i][robject_data].str(); 93 93 ip = ip.substr(1,ip.size()-2); 94 cout << "ep-ip = " << ip << endl;95 94 ep = new EndpointDescriptor(); 96 95 ep->locator = new IPv4Locator(); 97 cout << "1" << endl;98 96 ep->locator->setIP(ip); 99 cout << "2" << endl;100 97 ep->isUnspec = false; 101 cout << "3" << endl;102 98 } else 103 99 if (type=="tcp") { 104 cout << "4" << endl;105 100 string port = nav[i][robject_data][rfields][1].str(); 106 101 port = port.substr(1,port.size()-2); 107 cout << "ep-tcp-port = " << port << endl;108 cout << "5" << endl;109 102 ep->locator->setPort(stoi(port)); 110 103 } -
source/ariba/utility/types/Identifier.cpp
r2456 r2457 638 638 Identifier Identifier::sha1(const uint8_t* value, size_t length ) { 639 639 Identifier newKey; 640 uint8_t temp[20]; 640 uint8_t temp[40]; 641 for (int i=0; i<40; i++) temp[i] = 0; 641 642 642 643 CSHA1 sha;
Note:
See TracChangeset
for help on using the changeset viewer.