The Samba-Bugzilla – Attachment 3853 Details for
Bug 5965
Cannot add a share via SWAT when no shares are defined.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-swat-Fix-creation-of-the-first-share-using-SWAT.patch (text/plain), 600 bytes, created by
Karolin Seeger
on 2009-01-06 07:48:16 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Karolin Seeger
Created:
2009-01-06 07:48:16 UTC
Size:
600 bytes
patch
obsolete
>From 12d925c80a513cf048a35d75425fcea923a1269f Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 6 Jan 2009 14:45:00 +0100 >Subject: [PATCH] swat: Fix creation of the first share using SWAT. > >--- > source/web/swat.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source/web/swat.c b/source/web/swat.c >index 47c40cb..39efc79 100644 >--- 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); > >-- >1.6.0.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5965
: 3853