From 2b3161d8de92528be192f593256e97ec9658f88b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 14 Aug 2007 11:50:45 +0000 Subject: 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) --- source4/pidl/lib/Parse/Pidl/Samba4.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/pidl/lib') 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.="[$_]"; } -- cgit