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:
feb4d82
)
Make grouping in if statement more explicit.
author
Michael Adam
<obnox@samba.org>
Mon, 31 Dec 2007 02:55:22 +0000
(
03:55
+0100)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/source3/utils/net_conf.c
b/source3/utils/net_conf.c
index 1882567d8b7ef984294c3e69f1eb08a8413ef876..07eb3b890ffec3af272320961952b6f2704005d8 100644
(file)
--- a/
source3/utils/net_conf.c
+++ b/
source3/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);