summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-03-06 10:41:42 -0500
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-03-06 10:41:42 -0500
commit914cd3e483bd83fb4d8e769b90d9136336ea51e9 (patch)
tree95f17eeb5c6ee299e57edd3d6686b492d136bfe4 /source3/libsmb
parent5eb347193f7f52bfc672b83da6e45b59db31423c (diff)
downloadsamba-914cd3e483bd83fb4d8e769b90d9136336ea51e9.tar.gz
samba-914cd3e483bd83fb4d8e769b90d9136336ea51e9.tar.bz2
samba-914cd3e483bd83fb4d8e769b90d9136336ea51e9.zip
Eliminate global variable in_client and a plethora of extern declarations.
Derrell (This used to be commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/libsmb_context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/libsmb/libsmb_context.c b/source3/libsmb/libsmb_context.c
index 212b42fa88..3e67943c83 100644
--- a/source3/libsmb/libsmb_context.c
+++ b/source3/libsmb/libsmb_context.c
@@ -27,8 +27,6 @@
#include "libsmb_internal.h"
-extern bool in_client;
-
/*
* Is the logging working / configfile read ?
*/
@@ -450,7 +448,7 @@ smbc_init_context(SMBCCTX *context)
/* Here we would open the smb.conf file if needed ... */
- in_client = True; /* FIXME, make a param */
+ lp_set_in_client(True);
home = getenv("HOME");
if (home) {