summaryrefslogtreecommitdiff
path: root/source4/param/params.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-26 01:11:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:49 -0500
commit2a90c448bd0c4f05038f0936aa0b3390b275c6dc (patch)
tree33a325d8b93c3c0137a32af15ef678a72dd62bc9 /source4/param/params.c
parent244882311bc93f0bee325901b082420a96f3f798 (diff)
downloadsamba-2a90c448bd0c4f05038f0936aa0b3390b275c6dc.tar.gz
samba-2a90c448bd0c4f05038f0936aa0b3390b275c6dc.tar.bz2
samba-2a90c448bd0c4f05038f0936aa0b3390b275c6dc.zip
r7916: - got rid of the in_client global
- make not finding smb.conf a level 1 message, not level 0. Most of our tools handle no smb.conf, and those that don't should check for the specific parameters they need, or use the defaults (This used to be commit 8c17b61f8e0f6eefa6a1f853abc06d023627bbbb)
Diffstat (limited to 'source4/param/params.c')
-rw-r--r--source4/param/params.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/param/params.c b/source4/param/params.c
index 1b5b02cfa3..34d537c395 100644
--- a/source4/param/params.c
+++ b/source4/param/params.c
@@ -518,8 +518,6 @@ static myFILE *OpenConfFile( const char *FileName )
*/
{
const char *func = "params.c:OpenConfFile() -";
- extern BOOL in_client;
- int lvl = in_client?1:0;
myFILE *ret;
ret = malloc_p(myFILE);
@@ -528,7 +526,7 @@ static myFILE *OpenConfFile( const char *FileName )
ret->buf = file_load(FileName, &ret->size);
if( NULL == ret->buf )
{
- DEBUG( lvl,
+ DEBUG( 1,
("%s Unable to open configuration file \"%s\":\n\t%s\n",
func, FileName, strerror(errno)) );
SAFE_FREE(ret);