Code cleanup and removed heavy debug logging
This commit is contained in:
parent
f3e8aeeaeb
commit
8a8b917527
@ -741,7 +741,6 @@ int Test_DOB(char *DOB)
|
|||||||
UserAge--;
|
UserAge--;
|
||||||
if (((l_date->tm_mon + 1) == month) && (l_date->tm_mday < day))
|
if (((l_date->tm_mon + 1) == month) && (l_date->tm_mday < day))
|
||||||
UserAge--;
|
UserAge--;
|
||||||
Syslog('B', "DOB: Users age %d year", UserAge);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Purpose ...............: Inactivity timeout functions
|
* Purpose ...............: Inactivity timeout functions
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2004
|
* Copyright (C) 1997-2007
|
||||||
*
|
*
|
||||||
* Michiel Broek FIDO: 2:280/2802
|
* Michiel Broek FIDO: 2:280/2802
|
||||||
* Beekmansbos 10
|
* Beekmansbos 10
|
||||||
@ -117,7 +117,6 @@ void alarm_set(int val)
|
|||||||
{
|
{
|
||||||
signal(SIGALRM, (void (*))alarm_sig);
|
signal(SIGALRM, (void (*))alarm_sig);
|
||||||
alarm(val);
|
alarm(val);
|
||||||
Syslog('S', "Alarm set for %d seconds", val);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -133,6 +132,5 @@ void alarm_off()
|
|||||||
{
|
{
|
||||||
alarm(0);
|
alarm(0);
|
||||||
signal(SIGALRM, SIG_IGN);
|
signal(SIGALRM, SIG_IGN);
|
||||||
Syslog('S', "Alarm is off");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -466,8 +466,8 @@ void user(void)
|
|||||||
Chg_Charset();
|
Chg_Charset();
|
||||||
}
|
}
|
||||||
|
|
||||||
// setlocale(LC_CTYPE, getlocale(exitinfo.Charset));
|
setlocale(LC_CTYPE, getlocale(exitinfo.Charset));
|
||||||
// Syslog('b', "setlocale(LC_CTYPE, NULL) returns \"%s\"", printable(setlocale(LC_CTYPE, NULL), 0));
|
Syslog('b', "setlocale(LC_CTYPE, NULL) returns \"%s\"", printable(setlocale(LC_CTYPE, NULL), 0));
|
||||||
|
|
||||||
GetLastUser();
|
GetLastUser();
|
||||||
StartTime = xstrcpy(GetLocalHM());
|
StartTime = xstrcpy(GetLocalHM());
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Purpose ...............: Zmodem receive
|
* Purpose ...............: Zmodem receive
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2006
|
* Copyright (C) 1997-2007
|
||||||
*
|
*
|
||||||
* Michiel Broek FIDO: 2:280/2802
|
* Michiel Broek FIDO: 2:280/2802
|
||||||
* Beekmansbos 10
|
* Beekmansbos 10
|
||||||
@ -347,7 +347,6 @@ nxthdr:
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
moredata:
|
moredata:
|
||||||
Syslog('Z', "%7ld ZMODEM%s ", rxbytes, Crc32r?" CRC-32":"");
|
|
||||||
Nopper();
|
Nopper();
|
||||||
alarm_on();
|
alarm_on();
|
||||||
switch (c = zrdata(secbuf, MAXBLOCK)) {
|
switch (c = zrdata(secbuf, MAXBLOCK)) {
|
||||||
|
Reference in New Issue
Block a user