summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-05-29 08:45:07 +0200
committerKai Blin <kai@samba.org>2012-05-30 00:37:54 +0200
commit5bc261fff10746e0b8e35512f8bb85d39dde4bac (patch)
tree90895caa69a480f13a75713d35e136c9bf633e48 /librpc
parentda74d5462d77b090b8bba4669df7a0d914d111b5 (diff)
downloadsamba-5bc261fff10746e0b8e35512f8bb85d39dde4bac.tar.gz
samba-5bc261fff10746e0b8e35512f8bb85d39dde4bac.tar.bz2
samba-5bc261fff10746e0b8e35512f8bb85d39dde4bac.zip
librpc: Fix some typos
Signed-off-by: Kai Blin <kai@samba.org>
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");
}