/* Reload configuration */
-static BOOL reload_services_file(BOOL test)
+static BOOL reload_services_file(void)
{
BOOL ret;
pstrcpy(fname,lp_configfile());
if (file_exist(fname,NULL) && !strcsequal(fname,dyn_CONFIGFILE)) {
pstrcpy(dyn_CONFIGFILE,fname);
- test = False;
}
}
{
/* Flush various caches */
flush_caches();
- reload_services_file(True);
+ reload_services_file();
}
/* React on 'smbcontrol winbindd shutdown' in the same way as on SIGTERM*/
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);
}