From a1707f2689448125abbde7efc4c86f5518ebe718 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 17 Aug 2007 09:12:13 +0000 Subject: r24511: pass the correct thing to fatal() metze (This used to be commit 82cc41c5589899552256b06a3b1ae84e24d3b71f) --- source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/pidl/lib/Parse/Pidl/Samba3') diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm b/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm index 42120bec78..3f9d1f0464 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm @@ -85,7 +85,7 @@ sub ParseFunction($$$) next unless (grep(/out/, @{$e->{DIRECTION}})); my $level = 0; - fatal($e, "[out] argument is not a pointer or array") if ($e->{LEVELS}[0]->{TYPE} ne "POINTER" and $e->{LEVELS}[0]->{TYPE} ne "ARRAY"); + fatal($e->{ORIGINAL}, "[out] argument is not a pointer or array") if ($e->{LEVELS}[0]->{TYPE} ne "POINTER" and $e->{LEVELS}[0]->{TYPE} ne "ARRAY"); if ($e->{LEVELS}[0]->{TYPE} eq "POINTER") { $level = 1; -- cgit