summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-17 09:12:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:06 -0500
commita1707f2689448125abbde7efc4c86f5518ebe718 (patch)
treeb31e31df0357999986e00b0a3a825f4cd197e1dc /source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
parent1aa024dfbb1912054571de04e31cf0be7b1d2a27 (diff)
downloadsamba-a1707f2689448125abbde7efc4c86f5518ebe718.tar.gz
samba-a1707f2689448125abbde7efc4c86f5518ebe718.tar.bz2
samba-a1707f2689448125abbde7efc4c86f5518ebe718.zip
r24511: pass the correct thing to fatal()
metze (This used to be commit 82cc41c5589899552256b06a3b1ae84e24d3b71f)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm2
1 files changed, 1 insertions, 1 deletions
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;