Fixed typo: lenth => length
authorHerwin Weststrate <herwin@quarantainenet.nl>
Thu, 2 Jun 2016 12:51:24 +0000 (14:51 +0200)
committerHerwin Weststrate <herwin@quarantainenet.nl>
Thu, 2 Jun 2016 12:51:24 +0000 (14:51 +0200)
man/man5/unlang.5
src/lib/print.c

index 3b4349f..f95b3bf 100644 (file)
@@ -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}
index 5ce0928..421732f 100644 (file)
@@ -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.
  */