}
- /* Privilege separation */
+ /* Privilege separation */
if(Privsep_SetGroup(gid) < 0)
ErrorExit(SETGID_ERROR,ARGV0,group);
verbose(STARTUP_MSG, ARGV0, (int)getpid());
- /* the real daemon now */
+ /* the real daemon now */
OS_Run(&mail);
exit(0);
}
int i = 0;
int mailtosend = 0;
int childcount = 0;
- int today = 0;
int thishour = 0;
int n_errs = 0;
/* Getting currently time before starting */
tm = time(NULL);
- p = localtime(&tm);
- today = p->tm_mday;
+ p = localtime(&tm);
thishour = p->tm_hour;