svn commit: samba r4085 - in branches/SAMBA_4_0/source/build/pidl: .
metze at samba.org
metze at samba.org
Tue Dec 7 09:21:14 GMT 2004
Author: metze
Date: 2004-12-07 09:21:13 +0000 (Tue, 07 Dec 2004)
New Revision: 4085
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4085
Log:
print out dcerpc_fault's as names
metze
Modified:
branches/SAMBA_4_0/source/build/pidl/server.pm
Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/server.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/server.pm 2004-12-07 09:18:56 UTC (rev 4084)
+++ branches/SAMBA_4_0/source/build/pidl/server.pm 2004-12-07 09:21:13 UTC (rev 4085)
@@ -40,7 +40,7 @@
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++;
More information about the samba-cvs
mailing list