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:
5f64a60
)
r4142: Check result value of OpenHKU and OpenHKCR
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 10 Dec 2004 23:20:24 +0000
(23:20 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:06:30 +0000
(13:06 -0500)
source/torture/rpc/winreg.c
patch
|
blob
|
history
diff --git
a/source/torture/rpc/winreg.c
b/source/torture/rpc/winreg.c
index 8f3e543fb59bd3b6c0c2a5cbe29ee4adf9decb34..be1ca03b6fbbb7b187867c6222571afb41afa5a7 100644
(file)
--- a/
source/torture/rpc/winreg.c
+++ b/
source/torture/rpc/winreg.c
@@
-416,6
+416,11
@@
static BOOL test_OpenHKU(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
return False;
}
+ if (!W_ERROR_IS_OK(r.out.result)) {
+ printf("OpenHKU failed - %s\n", win_errstr(r.out.result));
+ return False;
+ }
+
return ret;
}
@@
-442,6
+447,10
@@
static BOOL test_OpenHKCR(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
return False;
}
+ if (!W_ERROR_IS_OK(r.out.result)) {
+ printf("OpenHKU failed - %s\n", win_errstr(r.out.result));
+ return False;
+ }
return ret;
}