pidl: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 20 Sep 2023 22:08:37 +0000 (10:08 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Oct 2023 22:23:37 +0000 (22:23 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
pidl/lib/Parse/Pidl/Samba4/NDR/ServerCompat.pm

index d93d519726074a36312eecdc387ada4346fe60e1..2dcc35e7e6544a5309a9eae9c07ab07e11e48117 100644 (file)
@@ -63,11 +63,11 @@ sub AllocOutVar($$$$$$$)
                $l = $nl if ($nl->{TYPE} eq "ARRAY");
        } elsif
 
-       # we don't support multi-dimentional arrays yet
+       # we don't support multi-dimensional arrays yet
        ($l->{TYPE} eq "ARRAY") {
                my $nl = GetNextLevel($e, $l);
                if ($nl->{TYPE} eq "ARRAY") {
-                       fatal($e->{ORIGINAL},"multi-dimentional [out] arrays are not supported!");
+                       fatal($e->{ORIGINAL},"multi-dimensional [out] arrays are not supported!");
                }
        } else {
                # neither pointer nor array, no need to alloc something.
index be275cc91092a28abfbb663e385d7c74687c398b..aaa10ffd99a834e1f64df3c35479e1f479877804 100644 (file)
@@ -67,11 +67,11 @@ sub alloc_out_var($$$$$)
                $l = $nl if ($nl->{TYPE} eq "ARRAY");
        } elsif
 
-       # we don't support multi-dimentional arrays yet
+       # we don't support multi-dimensional arrays yet
        ($l->{TYPE} eq "ARRAY") {
                my $nl = GetNextLevel($e, $l);
                if ($nl->{TYPE} eq "ARRAY") {
-                       fatal($e->{ORIGINAL},"multi-dimentional [out] arrays are not supported!");
+                       fatal($e->{ORIGINAL},"multi-dimensional [out] arrays are not supported!");
                }
        } else {
                # neither pointer nor array, no need to alloc something.