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

source/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);