git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44dcd5d
)
net: Add some {}
author
Volker Lendecke
<vl@samba.org>
Sun, 4 Feb 2018 15:45:57 +0000
(15:45 +0000)
committer
Ralph Boehme
<slow@samba.org>
Tue, 13 Feb 2018 15:42:22 +0000
(16:42 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/net_lookup.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_lookup.c
b/source3/utils/net_lookup.c
index 0c019e6e4d40f3e25eac69d917348bd44baece90..5ac1ddaaef073b5feff014b185fdb8ea3c2716b0 100644
(file)
--- a/
source3/utils/net_lookup.c
+++ b/
source3/utils/net_lookup.c
@@
-405,8
+405,9
@@
static int net_lookup_dsgetdcname(struct net_context *c, int argc, const char **
domain_name = argv[0];
- if (argc >= 2)
+ if (argc >= 2)
{
sscanf(argv[1], "%x", &flags);
+ }
if (!flags) {
flags |= DS_DIRECTORY_SERVICE_REQUIRED;