diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-12 14:12:10 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-15 09:34:05 +0200 |
commit | 1864cd8fa79cf109460516973c67e785fd0a7644 (patch) | |
tree | fde06b6bd3c54005f9684deb4c1407818c807980 /source4/torture/rpc | |
parent | 0cc24f2f9b36241afd4240c5d312052f5010d014 (diff) | |
download | samba-1864cd8fa79cf109460516973c67e785fd0a7644.tar.gz samba-1864cd8fa79cf109460516973c67e785fd0a7644.tar.bz2 samba-1864cd8fa79cf109460516973c67e785fd0a7644.zip |
s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/countcalls.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/torture/rpc/countcalls.c b/source4/torture/rpc/countcalls.c index e49ba6fa39..5857af68dd 100644 --- a/source4/torture/rpc/countcalls.c +++ b/source4/torture/rpc/countcalls.c @@ -59,13 +59,7 @@ bool count_calls(struct torture_context *tctx, for (i=0;i<500;i++) { status = dcerpc_request(p, NULL, i, p, &stub_in, &stub_out); - if (NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT) && - p->last_fault_code == DCERPC_FAULT_OP_RNG_ERROR) { - i--; - break; - } - if (NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT) && - p->last_fault_code == DCERPC_FAULT_OP_RNG_ERROR) { + if (NT_STATUS_EQUAL(status, NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE)) { i--; break; } |