From c7fa7e2ce57ff0b3d7831a6ab0a2ad4a7ef5294b Mon Sep 17 00:00:00 2001 From: Herwin Weststrate Date: Thu, 2 Jun 2016 14:51:24 +0200 Subject: [PATCH] Fixed typo: lenth => length --- man/man5/unlang.5 | 2 +- src/lib/print.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/man5/unlang.5 b/man/man5/unlang.5 index 3b4349f3439..f95b3bf2112 100644 --- a/man/man5/unlang.5 +++ b/man/man5/unlang.5 @@ -663,7 +663,7 @@ as with %{%{One}:-%{%{Two}:-%{Three}}} .PP String lengths and arrays .RS -Similar to a Unix shell, there are ways to reference string lenths, +Similar to a Unix shell, there are ways to reference string lengths, and the second or more instance of an attribute in a list. If you need more than this functionality, we suggest using a real language. .IP %{strlen:string} diff --git a/src/lib/print.c b/src/lib/print.c index 5ce0928771a..421732f6730 100644 --- a/src/lib/print.c +++ b/src/lib/print.c @@ -493,7 +493,7 @@ char *vp_aprints_type(TALLOC_CTX *ctx, PW_TYPE type) * JSON value to. * * @param out Where to write the string. - * @param outlen Lenth of output buffer. + * @param outlen Length of output buffer. * @param vp to print. * @return the length of data written to out, or a value >= outlen on truncation. */ @@ -652,7 +652,7 @@ static char const *vp_tokens[] = { * to a string. * * @param out Where to write the string. - * @param outlen Lenth of output buffer. + * @param outlen Length of output buffer. * @param vp to print. * @return the length of data written to out, or a value >= outlen on truncation. */ -- 2.47.3