diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net.c | 4 | ||||
-rw-r--r-- | source3/utils/net.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index d8b8317d2f..91070a5da9 100644 --- a/source3/utils/net.c +++ b/source3/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/source3/utils/net.h b/source3/utils/net.h index f40222ed71..80024bd958 100644 --- a/source3/utils/net.h +++ b/source3/utils/net.h @@ -106,7 +106,6 @@ struct net_context { bool smb_encrypt; struct libnetapi_ctx *netapi_ctx; - bool AllowDebugChange; const char *share_type[]; }; |