Changeset 1021
- Timestamp:
- 04/09/07 00:06:24 (2 years ago)
- Files:
-
- trunk/pdns/pdns/misc.hh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pdns/pdns/misc.hh
r982 r1021 247 247 char c; 248 248 for(unsigned int i = 0; i < reply.length(); i++) { 249 c = dns_tolower( reply[i]);250 if( c != reply[i])249 c = dns_tolower(upper[i]); 250 if( c != upper[i]) 251 251 reply[i] = c; 252 252 } … … 261 261 char c; 262 262 for(i = 0; i < limit ; i++) { 263 c = dns_tolower( reply[i]);264 if(c != reply[i])263 c = dns_tolower(upper[i]); 264 if(c != upper[i]) 265 265 reply[i] = c; 266 266 } 267 if( reply[i-1]=='.')267 if(upper[i-1]=='.') 268 268 reply.resize(i-1); 269 269 }