git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b7960a
)
r4085: print out dcerpc_fault's as names
author
Stefan Metzmacher
<metze@samba.org>
Tue, 7 Dec 2004 09:21:13 +0000
(09:21 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:06:25 +0000
(13:06 -0500)
metze
(This used to be commit
979c453c4dedf0006997dfc9994331e49643b741
)
source4/build/pidl/server.pm
patch
|
blob
|
history
diff --git
a/source4/build/pidl/server.pm
b/source4/build/pidl/server.pm
index 2a838ccf487477efd92e22263e46360aead28b51..4deca54ac5b2f6c6d97ac6cfb6336431ec39dd53 100644
(file)
--- a/
source4/build/pidl/server.pm
+++ b/
source4/build/pidl/server.pm
@@
-40,7
+40,7
@@
sub gen_dispatch_switch($)
pidl "\t\t\tNDR_PRINT_FUNCTION_DEBUG($d->{NAME}, NDR_OUT | NDR_SET_VALUES, r2);\n";
pidl "\t\t}\n";
pidl "\t\tif (dce_call->fault_code != 0) {\n";
- pidl "\t\t\tDEBUG(2,(\"dcerpc_fault
0x%x in $d->{NAME}\\n\", dce_call->fault_code
));\n";
+ pidl "\t\t\tDEBUG(2,(\"dcerpc_fault
%s in $d->{NAME}\\n\", dcerpc_errstr(mem_ctx, dce_call->fault_code)
));\n";
pidl "\t\t}\n";
pidl "\t\tbreak;\n\t}\n";
$count++;