Changeset 1156
- Timestamp:
- 03/13/08 18:17:50 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/dnswriter.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/dnswriter.cc
r1128 r1156 68 68 d_rollbackmarker=d_content.size(); 69 69 70 if( d_qname == d_recordqname) { // don't do the whole label compression thing if we *know* we can get away with "see question"70 if(iequals(d_qname,d_recordqname)) { // don't do the whole label compression thing if we *know* we can get away with "see question" 71 71 static char marker[2]={0xc0, 0x0c}; 72 72 d_content.insert(d_content.end(), &marker[0], &marker[2]); … … 154 154 DNSPacketWriter::lmap_t::iterator ret; 155 155 for(ret=lmap.begin(); ret != lmap.end(); ++ret) 156 if( ret->first == label)156 if(iequals(ret->first,label)) 157 157 break; 158 158 return ret;