From: Herwin Weststrate Date: Thu, 2 Jun 2016 12:51:24 +0000 (+0200) Subject: Fixed typo: lenth => length X-Git-Tag: release_3_0_12~129^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7fa7e2ce57ff0b3d7831a6ab0a2ad4a7ef5294b;p=thirdparty%2Ffreeradius-server.git Fixed typo: lenth => length --- 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. */