The Samba-Bugzilla – Attachment 5023 Details for
Bug 6288
SWAT adds a second share when changing parameters of an existing share
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch created by Volker
0001-s3-Fix-bug-6288.patch (text/plain), 1.97 KB, created by
Karolin Seeger
on 2009-11-30 04:01:12 UTC
(
hide
)
Description:
Proposed patch created by Volker
Filename:
MIME Type:
Creator:
Karolin Seeger
Created:
2009-11-30 04:01:12 UTC
Size:
1.97 KB
patch
obsolete
>From b4bce76776714815874f78dbe1184072d3943741 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Sun, 29 Nov 2009 23:31:45 +0100 >Subject: [PATCH] s3: Fix bug 6288 > >--- > source3/web/swat.c | 16 ++++++++-------- > 1 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/source3/web/swat.c b/source3/web/swat.c >index 8db175c..5e4b950 100644 >--- a/source3/web/swat.c >+++ b/source3/web/swat.c >@@ -645,7 +645,7 @@ static void wizard_params_page(void) > > if (cgi_variable("Commit")) { > commit_parameters(GLOBAL_SECTION_SNUM); >- save_reload(0); >+ save_reload(-1); > } > > printf("<form name=\"swatform\" method=post action=wizard_params>\n"); >@@ -669,7 +669,7 @@ static void wizard_params_page(void) > static void rewritecfg_file(void) > { > commit_parameters(GLOBAL_SECTION_SNUM); >- save_reload(0); >+ save_reload(-1); > printf("<H2>%s</H2>\n", _("Note: smb.conf file has been read and rewritten")); > } > >@@ -757,7 +757,7 @@ static void wizard_page(void) > } > > commit_parameters(GLOBAL_SECTION_SNUM); >- save_reload(0); >+ save_reload(-1); > } > else > { >@@ -851,7 +851,7 @@ static void globals_page(void) > > if (cgi_variable("Commit")) { > commit_parameters(GLOBAL_SECTION_SNUM); >- save_reload(0); >+ save_reload(-1); > } > > if ( cgi_variable("ViewMode") ) >@@ -909,13 +909,13 @@ static void shares_page(void) > > if (cgi_variable("Commit") && snum >= 0) { > commit_parameters(snum); >- save_reload(0); >+ save_reload(-1); > snum = lp_servicenumber(share); > } > > if (cgi_variable("Delete") && snum >= 0) { > lp_remove_service(snum); >- save_reload(0); >+ save_reload(-1); > share = NULL; > snum = -1; > } >@@ -1264,13 +1264,13 @@ static void printers_page(void) > if (snum >= iNumNonAutoPrintServices) > save_reload(snum); > else >- save_reload(0); >+ save_reload(-1); > snum = lp_servicenumber(share); > } > > if (cgi_variable("Delete") && snum >= 0) { > lp_remove_service(snum); >- save_reload(0); >+ save_reload(-1); > share = NULL; > snum = -1; > } >-- >1.6.4.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 6288
: 5023