Changeset 10002 for source/ariba
- Timestamp:
- Aug 1, 2011, 6:04:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/transport/tcpip/protlib/threadsafe_db.cpp
r9686 r10002 154 154 155 155 protocol_t tsdb::getprotobyname(const char* pname, bool *res) { 156 157 #ifdef ANDROID 158 if(strcmp(pname, "tcp") == 0) return tsdb::tcp_id; 159 else if(strcmp(pname, "udp") == 0) return tsdb::udp_id; 160 else if(strcmp(pname, "sctp") == 0) return tsdb::sctp_id; 161 else return 0; 162 #endif 163 156 164 register protocol_t pnum; 157 165 struct protoent* entry = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.