From: Joseph Sutton Date: Wed, 15 Nov 2023 02:07:53 +0000 (+1300) Subject: librpc:ndr: Fix comment X-Git-Tag: talloc-2.4.2~659 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04f627e4f2c6b2a2501634fd212e2527f4e0891;p=thirdparty%2Fsamba.git librpc:ndr: Fix comment Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/librpc/ndr/ndr_string.c b/librpc/ndr/ndr_string.c index ae30c4ac2e7..80054fa9be6 100644 --- a/librpc/ndr/ndr_string.c +++ b/librpc/ndr/ndr_string.c @@ -138,7 +138,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_string(struct ndr_pull *ndr, ndr_flags_type case LIBNDR_FLAG_STR_NULLTERM: /* - * We ensure that conv_str_len cannot return 0 by + * We ensure that conv_src_len cannot equal 0 by * requiring that there be enough bytes for at least * the NULL terminator */