summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2004-01-29 00:10:40 +0000
committerRichard Sharpe <sharpe@samba.org>2004-01-29 00:10:40 +0000
commita01dfa47dee9d4bc44db4b86dc956fa7f0dfac8e (patch)
tree13fdcfda286b41cf1a90447f066b4ead890632e0 /source3
parenta0cefa62e68212165d41aebca4d807c3c38529f9 (diff)
downloadsamba-a01dfa47dee9d4bc44db4b86dc956fa7f0dfac8e.tar.gz
samba-a01dfa47dee9d4bc44db4b86dc956fa7f0dfac8e.tar.bz2
samba-a01dfa47dee9d4bc44db4b86dc956fa7f0dfac8e.zip
Remove an unused parameter from reload_services_file.
(This used to be commit 0032c3f46aaef065e95d987dc0506016aabbe644)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 3124ef6378..8a0d0f7573 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -30,7 +30,7 @@ BOOL opt_dual_daemon = True;
/* Reload configuration */
-static BOOL reload_services_file(BOOL test)
+static BOOL reload_services_file(void)
{
BOOL ret;
@@ -40,7 +40,6 @@ static BOOL reload_services_file(BOOL test)
pstrcpy(fname,lp_configfile());
if (file_exist(fname,NULL) && !strcsequal(fname,dyn_CONFIGFILE)) {
pstrcpy(dyn_CONFIGFILE,fname);
- test = False;
}
}
@@ -194,7 +193,7 @@ static void msg_reload_services(int msg_type, pid_t src, void *buf, size_t len)
{
/* Flush various caches */
flush_caches();
- reload_services_file(True);
+ reload_services_file();
}
/* React on 'smbcontrol winbindd shutdown' in the same way as on SIGTERM*/
@@ -843,7 +842,7 @@ int main(int argc, char **argv)
DEBUG(1, ("winbindd version %s started.\n", SAMBA_VERSION_STRING) );
DEBUGADD( 1, ( "Copyright The Samba Team 2000-2004\n" ) );
- if (!reload_services_file(False)) {
+ if (!reload_services_file()) {
DEBUG(0, ("error opening config file\n"));
exit(1);
}