git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69501f4
)
s3/swat: Fix creation of the first share using SWAT.
author
Volker Lendecke
<vl@samba.org>
Tue, 6 Jan 2009 14:13:43 +0000
(15:13 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 12 Jan 2009 09:12:04 +0000
(10:12 +0100)
This fixes bug #5965.
(cherry picked from commit
f76614169f1e0a932cf2895702cfa9e8a5735875
)
(cherry picked from commit
148437fcd0896591ebbf6c2808723575d025123f
)
(cherry picked from commit
3ee41667d7bb8358c80af24f78dbdd071fa9c765
)
source/web/swat.c
patch
|
blob
|
history
diff --git
a/source/web/swat.c
b/source/web/swat.c
index d43f8941bc14d2c39ddaeb5764c3031bb9aee3a7..1994f382f3962ea552cbe325a4c10e9f249ee451 100644
(file)
--- a/
source/web/swat.c
+++ b/
source/web/swat.c
@@
-463,7
+463,7
@@
static int save_reload(int snum)
}
write_config(f, False);
- if (snum)
+ if (snum
>= 0
)
lp_dump_one(f, False, snum);
fclose(f);