librpc:ndr: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 27 Oct 2023 00:00:42 +0000 (13:00 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 1 Nov 2023 20:10:45 +0000 (20:10 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/ndr/ndr_string.c

index 82a1a2b18f3349dec11c55e9297a161711418c22..857972604b991152da9313e0b1933ceb1ab9ed40 100644 (file)
@@ -367,7 +367,7 @@ static uint32_t guess_string_array_size(struct ndr_pull *ndr, int ndr_flags)
         * Here we could do something clever like count the number of zeros in
         * the ndr data, but it is probably sufficient to pick a lowish number
         * (compared to the overhead of the talloc header) and let the
-        * expontential resizing deal with longer arrays.
+        * exponential resizing deal with longer arrays.
         */
        return 5;
 }