svn commit: samba r2399 - in branches/SAMBA_4_0/source/librpc/rpc: .

tpot at samba.org tpot at samba.org
Sat Sep 18 06:31:56 GMT 2004


Author: tpot
Date: 2004-09-18 06:31:56 +0000 (Sat, 18 Sep 2004)
New Revision: 2399

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/librpc/rpc&rev=2399&nolog=1

Log:
Display text description of rpc fault in debug message.

Modified:
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c	2004-09-18 06:09:33 UTC (rev 2398)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c	2004-09-18 06:31:56 UTC (rev 2399)
@@ -709,7 +709,7 @@
 	}
 
 	if (pkt.ptype == DCERPC_PKT_FAULT) {
-		DEBUG(5,("rpc fault 0x%x\n", pkt.u.fault.status));
+		DEBUG(5,("rpc fault: %s\n", dcerpc_errstr(p, pkt.u.fault.status)));
 		req->fault_code = pkt.u.fault.status;
 		req->status = NT_STATUS_NET_WRITE_FAULT;
 		req->state = RPC_REQUEST_DONE;



More information about the samba-cvs mailing list