git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3/swat: Fix creation of the first share using SWAT.
[samba.git]
/
source
/
web
/
swat.c
diff --git
a/source/web/swat.c
b/source/web/swat.c
index 47c40cbd0e2563e1d618e5bfe296f5083a9079a1..39efc790edb782cc7217c668e931a1987d55f202 100644
(file)
--- a/
source/web/swat.c
+++ b/
source/web/swat.c
@@
-474,7
+474,7
@@
static int save_reload(int snum)
}
write_config(f, False);
- if (snum)
+ if (snum
>= 0
)
lp_dump_one(f, False, snum);
fclose(f);