librpc:ndr: Fix comment
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 15 Nov 2023 02:07:53 +0000 (15:07 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 16 Nov 2023 05:18:36 +0000 (05:18 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/ndr/ndr_string.c

index ae30c4ac2e745fe733eee96a19d6ea9542b34888..80054fa9be6ce4c00ceca4ba83469b3da0532990 100644 (file)
@@ -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
                 */