1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Remove an unused parameter in winbindd (reload_services_file)

(This used to be commit 9a81094a0f0ca5c209f640c48b77522e5f81d28e)
This commit is contained in:
Richard Sharpe 2004-01-29 02:41:57 +00:00
parent 8ce5bd47a3
commit eea6e865f3

View File

@ -30,7 +30,7 @@ BOOL opt_dual_daemon = True;
/* Reload configuration */ /* Reload configuration */
static BOOL reload_services_file(BOOL test) static BOOL reload_services_file(void)
{ {
BOOL ret; BOOL ret;
@ -40,7 +40,6 @@ static BOOL reload_services_file(BOOL test)
pstrcpy(fname,lp_configfile()); pstrcpy(fname,lp_configfile());
if (file_exist(fname,NULL) && !strcsequal(fname,dyn_CONFIGFILE)) { if (file_exist(fname,NULL) && !strcsequal(fname,dyn_CONFIGFILE)) {
pstrcpy(dyn_CONFIGFILE,fname); 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 various caches */
flush_caches(); flush_caches();
reload_services_file(True); reload_services_file();
} }
/* React on 'smbcontrol winbindd shutdown' in the same way as on SIGTERM*/ /* 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) ); DEBUG(1, ("winbindd version %s started.\n", SAMBA_VERSION_STRING) );
DEBUGADD( 1, ( "Copyright The Samba Team 2000-2004\n" ) ); 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")); DEBUG(0, ("error opening config file\n"));
exit(1); exit(1);
} }