]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
librpc/ndr: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 19 Jul 2023 22:41:24 +0000 (10:41 +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.c

index d187a0d01101ed7bdb5093e5d63f9df3e347bd51..43a1f6dd3d397b89980268b869f4f838acd88877 100644 (file)
@@ -778,7 +778,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_subcontext_start(struct ndr_pull *ndr,
                /*
                 * Private Header for Constructed Type
                 */
-               /* length - will be updated latter */
+               /* length - will be updated later */
                NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &content_size));
                if (size_is >= 0 && size_is != content_size) {
                        return ndr_pull_error(ndr, NDR_ERR_SUBCONTEXT, "Bad subcontext (PULL) size_is(%d) mismatch content_size %d",
@@ -958,7 +958,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_subcontext_end(struct ndr_push *ndr,
                /*
                 * Private Header for Constructed Type
                 */
-               /* length - will be updated latter */
+               /* length - will be updated later */
                NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, subndr->offset));
 
                /* reserved */