summaryrefslogtreecommitdiff
path: root/source3/param/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param/params.c')
-rw-r--r--source3/param/params.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/param/params.c b/source3/param/params.c
index 44b44d99b6..e69715e4a3 100644
--- a/source3/param/params.c
+++ b/source3/param/params.c
@@ -80,8 +80,6 @@
#include "includes.h"
-extern bool in_client;
-
/* -------------------------------------------------------------------------- **
* Constants...
*/
@@ -519,7 +517,7 @@ static bool Parse( DATA_BLOB *buf, myFILE *InFile,
static myFILE *OpenConfFile( const char *FileName )
{
const char *func = "params.c:OpenConfFile() -";
- int lvl = in_client?1:0;
+ int lvl = lp_is_in_client() ? 1 : 0;
myFILE *ret;
ret = SMB_MALLOC_P(myFILE);