18 Jul
2023
18 Jul
'23
10:21 p.m.
ideas?
does something like this make any sense? --- signal.c 2023-06-22 11:23:28.422832143 +0200 +++ signal.c 2023-07-19 00:14:57.823809184 +0200 @@ -432,7 +432,9 @@ if ((debug & DEBUG_NNTP) && verbose > 1) debug_print_file("NNTP", "get_server() %d sec elapsed without response", tinrc.nntp_read_timeout_secs); # endif /* DEBUG */ - tin_done(NNTP_ERROR_EXIT, _("NNTP connection error. Exiting...")); + if (signal_context == cReconnect || prompt_yn(_("nntp_read_timeout_secs passed with no response; quit tin?"), FALSE) == 1) + tin_done(NNTP_ERROR_EXIT, _("NNTP connection error. Exiting...")); + RESTORE_HANDLER(sig, signal_handler); return; #endif /* HAVE_ALARM && SIGALRM */