diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-08-14 11:50:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:51 -0500 |
commit | 2b3161d8de92528be192f593256e97ec9658f88b (patch) | |
tree | d7df5145c24958d2f349b50e807c3a4cd4e360d0 /source4/pidl/lib | |
parent | 477e1e9e19990303e8f4abf08430894aba60ca9f (diff) | |
download | samba-2b3161d8de92528be192f593256e97ec9658f88b.tar.gz samba-2b3161d8de92528be192f593256e97ec9658f88b.tar.bz2 samba-2b3161d8de92528be192f593256e97ec9658f88b.zip |
r24407: $element->{ARRAY_LEN} doesn't exist...
and a few lines above we use $element->{ORIGINAL}->{ARRAY_LEN}
I assume it was just forgotten in the update.
metze
(This used to be commit 89ea0339b5f95b27ad0eaed430d1f264722a7e84)
Diffstat (limited to 'source4/pidl/lib')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba4.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4.pm b/source4/pidl/lib/Parse/Pidl/Samba4.pm index f6c0ee38f7..326ac83751 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba4.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba4.pm @@ -62,7 +62,7 @@ sub DeclLong($) $ret.="*" foreach (1..$numstar); } $ret.=$element->{NAME}; - foreach (@{$element->{ARRAY_LEN}}) { + foreach (@{$element->{ORIGINAL}->{ARRAY_LEN}}) { next unless (is_constant($_) and not has_property($element, "charset")); $ret.="[$_]"; } |