From a1bb47695a7fb21af239aa9d02537d3de2fea325 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 31 Dec 2007 03:55:22 +0100 Subject: [PATCH] Make grouping in if statement more explicit. Michael --- source/utils/net_conf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/utils/net_conf.c b/source/utils/net_conf.c index 1882567d8b7..07eb3b890ff 100644 --- a/source/utils/net_conf.c +++ b/source/utils/net_conf.c @@ -217,9 +217,11 @@ static int import_process_service(TALLOC_CTX *ctx, while ((parm = lp_next_parameter(share->service, &pnum, 0))) { - if ((share->service < 0 && parm->p_class == P_LOCAL) + if ((share->service < 0) && (parm->p_class == P_LOCAL) && !(parm->flags & FLAG_GLOBAL)) + { continue; + } valstr = parm_valstr(tmp_ctx, parm, share); -- 2.11.4.GIT