summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-17 08:05:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:05 -0500
commit3d753b59a95fdb04c26e349c93fddab485beab0f (patch)
tree4df013c66e9aab1018e323b3ae0a99173914ca67 /source4
parent9785c25519c412670ee6fc7e39828e6744e66e14 (diff)
downloadsamba-3d753b59a95fdb04c26e349c93fddab485beab0f.tar.gz
samba-3d753b59a95fdb04c26e349c93fddab485beab0f.tar.bz2
samba-3d753b59a95fdb04c26e349c93fddab485beab0f.zip
r24507: pass $d down to HeaderTypedef
metze (This used to be commit 0edec25af84744074aeeb5f8f7b61a6c78ef35b7)
Diffstat (limited to 'source4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/Header.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm
index e10f647635..76034109b7 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/Header.pm
@@ -223,7 +223,7 @@ sub HeaderType($$$)
sub HeaderTypedef($)
{
my($typedef) = shift;
- HeaderType($typedef, $typedef->{DATA}, $typedef->{NAME});
+ HeaderType($typedef, $typedef->{DATA}->{ORIGINAL}, $typedef->{NAME});
}
#####################################################################
@@ -360,7 +360,7 @@ sub HeaderInterface($)
}
foreach my $d (@{$interface->{TYPES}}) {
- HeaderTypedef($d->{ORIGINAL}) if ($d->{TYPE} eq "TYPEDEF");
+ HeaderTypedef($d) if ($d->{TYPE} eq "TYPEDEF");
HeaderStruct($d->{ORIGINAL}, $d->{NAME}) if ($d->{TYPE} eq "STRUCT");
HeaderUnion($d->{ORIGINAL}, $d->{NAME}) if ($d->{TYPE} eq "UNION");
HeaderEnum($d->{ORIGINAL}, $d->{NAME}) if ($d->{TYPE} eq "ENUM");