if (qtypes.find(ah.d_type) == qtypes.end()) {
// if this is not a safe type
if (safeTypes.find(ah.d_type) == safeTypes.end()) {
- // "unsafe" types might countain compressed data, so cancel rewrite
+ // "unsafe" types might contain compressed data, so cancel rewrite
newContent.clear();
return EIO;
}
if (qtypes.find(ah.d_type) == qtypes.end()) {
if (safeTypes.find(ah.d_type) == safeTypes.end()) {
- // "unsafe" types might countain compressed data, so cancel rewrite
+ // "unsafe" types might contain compressed data, so cancel rewrite
newContent.clear();
return EIO;
}
if (qtypes.find(ah.d_type) == qtypes.end()) {
if (safeTypes.find(ah.d_type) == safeTypes.end()) {
- // "unsafe" types might countain compressed data, so cancel rewrite
+ // "unsafe" types might contain compressed data, so cancel rewrite
newContent.clear();
return EIO;
}
class Record:
def __init__(self, content, disabled):
"""
- Represents a Record from the API. Note that is does not contian the rrname nor ttl (these are held by the
+ Represents a Record from the API. Note that is does not contain the rrname nor ttl (these are held by the
encompassing :class:`RRSet` object).
:param str content: The content of the record in zonefile-format
void reserve(std::string::size_type sz1, std::string::size_type sz2)
{
- // We expect to grow the buffers, in the end the d_message will contains the (grown) d_response
+ // We expect to grow the buffers, in the end the d_message will contain the (grown) d_response
// This is extra space in addition to what's already there
// Different from what string.reserve() does
std::string::size_type extra = sz1 + d_rspbuf.length() + sz2;