]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ndr_string: Fix typo
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 10 Jul 2023 02:42:55 +0000 (14:42 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Aug 2023 04:39:36 +0000 (04:39 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/ndr/ndr_string.c

index 783e11be3343457070f8ce54c39570542fc5478b..0d93508ff1c8f9bba0298df23ca6bd6c0426a294 100644 (file)
@@ -620,7 +620,7 @@ _PUBLIC_ uint32_t ndr_string_length(const void *_var, uint32_t element_size)
  * This checks the string length based on the elements. The returned number
  * includes the terminating null byte(s) if found.
  *
- * @param[in]  _var    The string the calculate the length for.
+ * @param[in]  _var    The string to calculate the length for.
  *
  * @param[in]  length  The length of the buffer passed by _var.
  *