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:
3f8e9b9
)
s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of NT_STATUS_NET_WRIT...
author
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Apr 2010 15:22:41 +0000
(17:22 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Apr 2010 15:32:31 +0000
(17:32 +0200)
metze
source4/torture/rpc/countcalls.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/countcalls.c
b/source4/torture/rpc/countcalls.c
index 5857af68dd261fae8eb2208cc3528597ce8f1ec0..7d3c9d7b864d19627c1447ee786e82f323f61bc4 100644
(file)
--- a/
source4/torture/rpc/countcalls.c
+++ b/
source4/torture/rpc/countcalls.c
@@
-38,7
+38,7
@@
bool count_calls(struct torture_context *tctx,
int i;
NTSTATUS status = torture_rpc_connection(tctx, &p, iface);
if (NT_STATUS_EQUAL(NT_STATUS_OBJECT_NAME_NOT_FOUND, status)
- || NT_STATUS_
EQUAL(NT_STATUS_NET_WRITE_FAULT,
status)
+ || NT_STATUS_
IS_RPC(
status)
|| NT_STATUS_EQUAL(NT_STATUS_PORT_UNREACHABLE, status)
|| NT_STATUS_EQUAL(NT_STATUS_ACCESS_DENIED, status)) {
if (all) {