diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-02-16 14:13:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:24 -0500 |
commit | 0fd260039498ac8331665cd2102b597198f58fbb (patch) | |
tree | 1b103f57dab44d1a51c95c2973ed01233a231ba4 /source4 | |
parent | f86444b516eed15f385085542cc14a612fe3db03 (diff) | |
download | samba-0fd260039498ac8331665cd2102b597198f58fbb.tar.gz samba-0fd260039498ac8331665cd2102b597198f58fbb.tar.bz2 samba-0fd260039498ac8331665cd2102b597198f58fbb.zip |
r21384: Change warning to pidl warning, fix uppercasing.
(This used to be commit a45a677084ba1bc63a8f74892c12ca6f0d9b5071)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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\__ */"; } |