Make grouping in if statement more explicit.
authorMichael Adam <obnox@samba.org>
Mon, 31 Dec 2007 02:55:22 +0000 (03:55 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 31 Dec 2007 02:55:22 +0000 (03:55 +0100)
Michael
(This used to be commit a1bb47695a7fb21af239aa9d02537d3de2fea325)

source3/utils/net_conf.c

index 1882567d8b7ef984294c3e69f1eb08a8413ef876..07eb3b890ffec3af272320961952b6f2704005d8 100644 (file)
@@ -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);