Revision: 10567 https://osdn.net/projects/ttssh2/scm/svn/commits/10567 Author: nmaya Date: 2023-02-03 18:17:53 +0900 (Fri, 03 Feb 2023) Log Message: ----------- DisablePopupMessage で制御して MessageBox を表示しなかった場合 TTSSH.LOG に記録するようにした ticket #47298 細かいことなので、この件の変更履歴は書きません。 Ticket Links: ------------ https://osdn.net/projects/ttssh2/tracker/detail/47298 Modified Paths: -------------- trunk/ttssh2/ttxssh/fwd.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/fwd.c =================================================================== --- trunk/ttssh2/ttxssh/fwd.c 2023-02-03 09:17:49 UTC (rev 10566) +++ trunk/ttssh2/ttxssh/fwd.c 2023-02-03 09:17:53 UTC (rev 10567) @@ -1877,14 +1877,16 @@ if (!UTIL_sock_buffered_write(pvar, &channel->writebuf, blocking_write, s, data, length)) { closed_local_connection(pvar, local_channel_num); + UTIL_get_lang_msg("MSG_FWD_COMM_ERROR", pvar, + "A communications error occurred while sending forwarded data to a local port.\n" + "The forwarded connection will be closed."); // \x83|\x83b\x83v\x83A\x83b\x83v\x97}\x8E~\x8Ew\x92肠\x82\xEA\x82A\x8A\x94\x82\xF0\x8CĂяo\x82\xB3\x82Ȃ\xA2\x81B - // (2014.6.26 yutaka) if ((pvar->settings.DisablePopupMessage & POPUP_MSG_FWD_received_data) == 0) { - UTIL_get_lang_msg("MSG_FWD_COMM_ERROR", pvar, - "A communications error occurred while sending forwarded data to a local port.\n" - "The forwarded connection will be closed."); notify_nonfatal_error(pvar, pvar->ts->UIMsg); } + else { + logputs(LOG_LEVEL_ERROR, pvar->ts->UIMsg); + } } }