pidl:Samba4/NDR/Client: fix arguments to warning()
authorStefan Metzmacher <metze@samba.org>
Fri, 11 Mar 2011 08:01:00 +0000 (09:01 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 11 Mar 2011 11:32:43 +0000 (12:32 +0100)
We want the file:line: information displayed.

metze
(cherry picked from commit 6771ade5e7933af57b286870d73e7773521b8fdd)

pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm

index ab4f524b9f9e4a15bd11ae6de88862281528f3ff..c796b466addf82b1ed2cbed926a04744b6e5925b 100644 (file)
@@ -743,7 +743,7 @@ sub ParseFunction($$$)
                $self->pidl_both(" * dcerpc_$fn->{NAME}()");
                $self->pidl_both(" */");
                $self->pidl_both("");
-               warning($fn, "$fn->{NAME}: dcerpc client does not support pipe yet");
+               warning($fn->{ORIGINAL}, "$fn->{NAME}: dcerpc client does not support pipe yet");
                return;
        }