Changeset 5348 for trunk/oscam.c
- Timestamp:
- 06/03/11 00:56:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam.c
r5343 r5348 1132 1132 if (account->dyndns[0]) 1133 1133 { 1134 cs_lock(&gethostbyname_lock);1135 1134 in_addr_t lastip = account->dynip; 1136 1135 //Resolve with gethostbyname: 1137 1136 if (cfg.resolve_gethostbyname) { 1137 cs_lock(&gethostbyname_lock); 1138 1138 rht = gethostbyname((char*)account->dyndns); 1139 1139 if (!rht) … … 1144 1144 result=1; 1145 1145 } 1146 cs_unlock(&gethostbyname_lock); 1146 1147 } 1147 1148 else { //Resolve with getaddrinfo: … … 1165 1166 cs_log("%s: resolved ip=%s", (char*)account->dyndns, cs_inet_ntoa(account->dynip)); 1166 1167 } 1167 cs_unlock(&gethostbyname_lock);1168 1168 } 1169 1169 if (!result)
Note:
See TracChangeset
for help on using the changeset viewer.