From 77c1df57a87b483c35ca01ede13d40980d3e1a96 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Feb 2018 15:45:57 +0000 Subject: [PATCH] net: Add some {} Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- source3/utils/net_lookup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c index 0c019e6e4d40..5ac1ddaaef07 100644 --- 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; -- 2.34.1