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:
1733df2
)
s3:lib/netapi/examples: fix pointer from integer error in nltest.c
author
Stefan Metzmacher
<metze@samba.org>
Wed, 26 Feb 2014 19:16:26 +0000
(20:16 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 25 Nov 2014 06:25:44 +0000
(07:25 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/netapi/examples/netlogon/nltest.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/examples/netlogon/nltest.c
b/source3/lib/netapi/examples/netlogon/nltest.c
index f75a995328e2d3b72896d21042082d2098c66696..9f96bdaef4e5e163b397af15c7ef2aa3051c16fd 100644
(file)
--- a/
source3/lib/netapi/examples/netlogon/nltest.c
+++ b/
source3/lib/netapi/examples/netlogon/nltest.c
@@
-289,7
+289,7
@@
int main(int argc, const char **argv)
status = I_NetLogonControl2(opt_server,
NETLOGON_CONTROL_SET_DBFLAG,
query_level,
- (uint8_t *)opt_dbflag,
+ (uint8_t *)
&
opt_dbflag,
&buffer);
if (status != 0) {
fprintf(stderr, "I_NetlogonControl failed: Status = %d 0x%x %s\n",