summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr/ndr_dns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/librpc/ndr/ndr_dns.c b/librpc/ndr/ndr_dns.c
index 27d8493777..0b9e3b0507 100644
--- a/librpc/ndr/ndr_dns.c
+++ b/librpc/ndr/ndr_dns.c
@@ -85,7 +85,7 @@ static enum ndr_err_code ndr_pull_component(struct ndr_pull *ndr,
/* its a reserved length field */
return ndr_pull_error(ndr, NDR_ERR_STRING,
"BAD DNS NAME component, " \
- "reserved lenght field: 0x%02x",
+ "reserved length field: 0x%02x",
(len &0xC));
}
if (*offset + len + 1 > ndr->data_size) {
@@ -256,13 +256,13 @@ _PUBLIC_ enum ndr_err_code ndr_push_dns_res_rec(struct ndr_push *ndr,
return ndr_push_error(ndr,
NDR_ERR_LENGTH,
"Invalid...Unexpected " \
- "blob lenght is too " \
+ "blob length is too " \
"large");
}
}
if (r->unexpected.length > UINT16_MAX) {
return ndr_push_error(ndr, NDR_ERR_LENGTH,
- "Unexpected blob lenght "\
+ "Unexpected blob length "\
"is too large");
}