added debug info
This commit is contained in:
parent
9788714531
commit
27441cd862
@ -106,7 +106,7 @@ void Good_Bye(int onsig)
|
|||||||
* Flush all data to the user, wait 5 seconds to
|
* Flush all data to the user, wait 5 seconds to
|
||||||
* be sure the user received all data.
|
* be sure the user received all data.
|
||||||
*/
|
*/
|
||||||
if (! hanged_up) {
|
if ((onsig != SIGALRM) && (onsig != MBERR_TIMEOUT) && (hanged_up == 0)) {
|
||||||
colour(LIGHTGRAY, BLACK);
|
colour(LIGHTGRAY, BLACK);
|
||||||
sleep(4);
|
sleep(4);
|
||||||
}
|
}
|
||||||
@ -114,8 +114,10 @@ void Good_Bye(int onsig)
|
|||||||
for (i = 0; i < NSIG; i++)
|
for (i = 0; i < NSIG; i++)
|
||||||
signal(i, SIG_IGN);
|
signal(i, SIG_IGN);
|
||||||
|
|
||||||
|
Syslog('b', "Will hangup");
|
||||||
cookedport();
|
cookedport();
|
||||||
hangup();
|
hangup();
|
||||||
|
Syslog('b', "Done");
|
||||||
|
|
||||||
if (do_mailout)
|
if (do_mailout)
|
||||||
CreateSema((char *)"mailout");
|
CreateSema((char *)"mailout");
|
||||||
|
Reference in New Issue
Block a user