[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-2732-gf6ba733
Günther Deschner
gd at samba.org
Thu Jun 5 16:49:57 GMT 2008
The branch, v3-3-test has been updated
via f6ba7333ab31332198b59651b4252cb3f897b6aa (commit)
from 497196e713b05901f02a46755bce6a63734dcf4c (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit f6ba7333ab31332198b59651b4252cb3f897b6aa
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 5 18:40:26 2008 +0200
net: fix debuglevel handling.
Kai, that one actually needs to stay a global external variable in order to
support debuglevel definition only on the commandline for net.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/utils/net.c | 4 +++-
source/utils/net.h | 1 -
2 files changed, 3 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/utils/net.c b/source/utils/net.c
index d8b8317..91070a5 100644
--- a/source/utils/net.c
+++ b/source/utils/net.c
@@ -43,6 +43,8 @@
#include "includes.h"
#include "utils/net.h"
+extern bool AllowDebugChange;
+
#ifdef WITH_FAKE_KASERVER
#include "utils/net_afs.h"
#endif
@@ -508,7 +510,7 @@ static struct functable net_func[] = {
* Don't load debug level from smb.conf. It should be
* set by cmdline arg or remain default (0)
*/
- c->AllowDebugChange = false;
+ AllowDebugChange = false;
lp_load(get_dyn_CONFIGFILE(), true, false, false, true);
argv_new = (const char **)poptGetArgs(pc);
diff --git a/source/utils/net.h b/source/utils/net.h
index f40222e..80024bd 100644
--- a/source/utils/net.h
+++ b/source/utils/net.h
@@ -106,7 +106,6 @@ struct net_context {
bool smb_encrypt;
struct libnetapi_ctx *netapi_ctx;
- bool AllowDebugChange;
const char *share_type[];
};
--
Samba Shared Repository
More information about the samba-cvs
mailing list