Fixed bbs idle timeout loop
This commit is contained in:
parent
dc5782207d
commit
6c8e320e68
@ -11,6 +11,10 @@ v0.39.1 22-Oct-2003
|
|||||||
~/etc/archiver.data and start mbsetup to recreate the
|
~/etc/archiver.data and start mbsetup to recreate the
|
||||||
archivers setup.
|
archivers setup.
|
||||||
|
|
||||||
|
mbsebbs:
|
||||||
|
Fixed a bug where the bbs goes into a loop after idle timeout
|
||||||
|
during login (and maybe in other situations).
|
||||||
|
|
||||||
mbsetup:
|
mbsetup:
|
||||||
In node editor, fixed error message when there was no more
|
In node editor, fixed error message when there was no more
|
||||||
room for new nodes to point to the right menus.
|
room for new nodes to point to the right menus.
|
||||||
|
3
TODO
3
TODO
@ -30,9 +30,6 @@ libdiesel.a:
|
|||||||
processed, instead the previous macro value will be returned.
|
processed, instead the previous macro value will be returned.
|
||||||
|
|
||||||
mbsebbs:
|
mbsebbs:
|
||||||
U: When the bbs times out during login, the GoodBye functions goes
|
|
||||||
into a loop.
|
|
||||||
|
|
||||||
X: Better word wrapping or paragraph justification in editor.
|
X: Better word wrapping or paragraph justification in editor.
|
||||||
|
|
||||||
X: E-mail downloads with e-mail verification.
|
X: E-mail downloads with e-mail verification.
|
||||||
|
@ -57,18 +57,19 @@ void Good_Bye(int onsig)
|
|||||||
|
|
||||||
IsDoing("Hangup");
|
IsDoing("Hangup");
|
||||||
temp = calloc(PATH_MAX, sizeof(char));
|
temp = calloc(PATH_MAX, sizeof(char));
|
||||||
Syslog('+', "Good_Bye()");
|
Syslog('+', "Good_Bye(%d)", onsig);
|
||||||
|
|
||||||
if (onsig != SIGHUP)
|
/*
|
||||||
|
* Don't display goodbye screen on SIGHUP and idle timeout.
|
||||||
|
* With idle timeout this will go into a loop.
|
||||||
|
*/
|
||||||
|
if ((onsig != SIGHUP) && (onsig != SIGALRM) && (onsig != MBERR_TIMEOUT))
|
||||||
DisplayFile((char *)"goodbye");
|
DisplayFile((char *)"goodbye");
|
||||||
|
|
||||||
Syslog('b', "goodbye displayed");
|
|
||||||
|
|
||||||
if (do_mailout)
|
if (do_mailout)
|
||||||
CreateSema((char *)"mailout");
|
CreateSema((char *)"mailout");
|
||||||
|
|
||||||
SaveLastCallers();
|
SaveLastCallers();
|
||||||
Syslog('b', "Lastcallers written");
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Update the users database record.
|
* Update the users database record.
|
||||||
|
Reference in New Issue
Block a user