From 0fd260039498ac8331665cd2102b597198f58fbb Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 16 Feb 2007 14:13:14 +0000 Subject: r21384: Change warning to pidl warning, fix uppercasing. (This used to be commit a45a677084ba1bc63a8f74892c12ca6f0d9b5071) --- source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/pidl/lib') diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm b/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm index 3b596aba65..0ffa321782 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm @@ -129,7 +129,7 @@ sub ParseFunction($$) } elsif ($fn->{RETURN_TYPE} eq "WERROR") { pidl "return werror_to_ntstatus(r.out.result);"; } else { - pidl "#warning Sorry, don't know how to convert $fn->{RETURN_TYPE} to NTSTATUS"; + warning($fn->{ORIGINAL}, "Unable to convert $fn->{RETURN_TYPE} to NTSTATUS"); pidl "return NT_STATUS_OK;"; } @@ -146,7 +146,7 @@ sub ParseInterface($) pidl_hdr "#ifndef __CLI_$uif\__"; pidl_hdr "#define __CLI_$uif\__"; - ParseFunction($if->{NAME}, $_) foreach (@{$if->{FUNCTIONS}}); + ParseFunction(uc($if->{NAME}), $_) foreach (@{$if->{FUNCTIONS}}); pidl_hdr "#endif /* __CLI_$uif\__ */"; } -- cgit