git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5b6a5b
)
s4/torture/libnetapi/libnetapi_user.c: fix typo
author
Aurelien Aptel
<aaptel@suse.com>
Fri, 4 Mar 2016 08:29:48 +0000
(09:29 +0100)
committer
Alexander Bokovoy
<ab@samba.org>
Fri, 4 Mar 2016 17:08:21 +0000
(18:08 +0100)
fixed misplaced parenthesis and wrong sizeof().
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: David Disseldorf <ddis@suse.de>
source4/torture/libnetapi/libnetapi_user.c
patch
|
blob
|
history
diff --git
a/source4/torture/libnetapi/libnetapi_user.c
b/source4/torture/libnetapi/libnetapi_user.c
index 2afc1e59169f4bd6c916bbc73b51ea9d57e5b0a7..e925725e5f00523d33dd86c0a130cc3c3828e6af 100644
(file)
--- a/
source4/torture/libnetapi/libnetapi_user.c
+++ b/
source4/torture/libnetapi/libnetapi_user.c
@@
-249,7
+249,7
@@
static NET_API_STATUS test_netusermodals(struct torture_context *tctx,
return status;
}
- if (memcmp(u0, _u0, sizeof(
u0) != 0)
) {
+ if (memcmp(u0, _u0, sizeof(
*u0)) != 0
) {
torture_comment(tctx, "USER_MODALS_INFO_0 struct has changed!!!!\n");
return -1;
}