1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-25 00:23:52 +03:00

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 commit is contained in:
Stefan Metzmacher
2007-08-14 11:50:45 +00:00
committed by Gerald (Jerry) Carter
parent ef9bc55a6b
commit 89ea0339b5

View File

@@ -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.="[$_]";
}