[Ttssh2-commit] [5904] X11転送の失敗時、エラーコードも表示するようにした。

svnno****@sourc***** svnno****@sourc*****
2015年 6月 9日 (火) 22:19:59 JST


Revision: 5904
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5904
Author:   yutakapon
Date:     2015-06-09 22:19:56 +0900 (Tue, 09 Jun 2015)
Log Message:
-----------
X11転送の失敗時、エラーコードも表示するようにした。

Modified Paths:
--------------
    trunk/installer/release/lang/English.lng
    trunk/installer/release/lang/French.lng
    trunk/installer/release/lang/German.lng
    trunk/installer/release/lang/Japanese.lng
    trunk/installer/release/lang/Korean.lng
    trunk/installer/release/lang/Russian.lng
    trunk/installer/release/lang/Simplified Chinese.lng
    trunk/installer/release/lang/Traditional Chinese.lng
    trunk/ttssh2/ttxssh/fwd.c

-------------- next part --------------
Modified: trunk/installer/release/lang/English.lng
===================================================================
--- trunk/installer/release/lang/English.lng	2015-06-04 16:00:03 UTC (rev 5903)
+++ trunk/installer/release/lang/English.lng	2015-06-09 13:19:56 UTC (rev 5904)
@@ -748,8 +748,8 @@
 MSG_FWD_ADDRNOTFOUTD_ERROR=No address was found for the machine
 MSG_FWD_CONNECT_ERROR=The forwarding connection could not be established
 MSG_FWD_CHANNEL_ERROR=Communications error %s forwarded local %s.\n%s (code %d).\nThe forwarded connection will be closed.
-MSG_FWD_CHANNEL_OPEN_X_ERROR=The server attempted to forward a connection through this machine.\nIt requested a connection to the X server on %s (display %d:%d).\n%s.\nThe forwarded connection will be closed.
-MSG_FWD_CHANNEL_OPEN_ERROR=The server attempted to forward a connection through this machine.\nIt requested a connection to %s (port %s).\n%s.\nThe forwarded connection will be closed.
+MSG_FWD_CHANNEL_OPEN_X_ERROR=The server attempted to forward a connection through this machine.\nIt requested a connection to the X server on %s (display %d:%d).\n%s(code %d).\nThe forwarded connection will be closed.
+MSG_FWD_CHANNEL_OPEN_ERROR=The server attempted to forward a connection through this machine.\nIt requested a connection to %s (port %s).\n%s(code %d).\nThe forwarded connection will be closed.
 DLG_FWDMON_TITLE=TTSSH Port Forwarding Monitor
 MSG_FWD_HOSTILE_ATTACK_ERROR=Host with IP number %s tried to connect to forwarded local port %d.\nThis could be some kind of hostile attack.
 MSG_FWD_SOCKET_ERROR=Some socket(s) required for port forwarding could not be initialized.\nSome port forwarding services may not be available.\n(errno %d)

Modified: trunk/installer/release/lang/French.lng
===================================================================
--- trunk/installer/release/lang/French.lng	2015-06-04 16:00:03 UTC (rev 5903)
+++ trunk/installer/release/lang/French.lng	2015-06-09 13:19:56 UTC (rev 5904)
@@ -748,8 +748,8 @@
 MSG_FWD_ADDRNOTFOUTD_ERROR=Pas d'adresse trouv\xE9e pour la machine
 MSG_FWD_CONNECT_ERROR=La connexion n'a pas pu \xEAtre \xE9tablie
 MSG_FWD_CHANNEL_ERROR=Erreur de communication %s redirig\xE9 en local %s.\n%s (code %d).\nLa connexion redirig\xE9e va \xEAtre ferm\xE9e.
-MSG_FWD_CHANNEL_OPEN_X_ERROR=Le serveur a essay\xE9 de rediriger une connexion \xE0 travers cette machine.\nIl a demand\xE9 une connexion au serveur X sur %s (display %d:%d).\n%s.\nLa connection redirig\xE9e va \xEAtre ferm\xE9e.
-MSG_FWD_CHANNEL_OPEN_ERROR=Le serveur a essay\xE9 de rediriger une connexion \xE0 travers cette machine.\nIl a demand\xE9 une connexion sur %s (port %s).\n%s.\nLa connection redirig\xE9e va \xEAtre ferm\xE9e.
+MSG_FWD_CHANNEL_OPEN_X_ERROR=Le serveur a essay\xE9 de rediriger une connexion \xE0 travers cette machine.\nIl a demand\xE9 une connexion au serveur X sur %s (display %d:%d).\n%s(code %d).\nLa connection redirig\xE9e va \xEAtre ferm\xE9e.
+MSG_FWD_CHANNEL_OPEN_ERROR=Le serveur a essay\xE9 de rediriger une connexion \xE0 travers cette machine.\nIl a demand\xE9 une connexion sur %s (port %s).\n%s(code %d).\nLa connection redirig\xE9e va \xEAtre ferm\xE9e.
 DLG_FWDMON_TITLE=Moniteur de redirection de port TTSSH
 MSG_FWD_HOSTILE_ATTACK_ERROR=L4h\xF4te d'adresse IP %s a essay\xE9 de se connecter au port local redirig\xE9 %d.\nC'est peut-\xEAtre une forme d'attaque hostile.
 MSG_FWD_SOCKET_ERROR=Un ou plusieurs sockets n\xE9cessaires \xE0 la redirection de port n'ont pu \xEAtre initialis\xE9s.\nCertains services de redirection de port ne seront peut-\xEAtre pas disponibles.\n(erreur N\xB0 %d)

Modified: trunk/installer/release/lang/German.lng
===================================================================
--- trunk/installer/release/lang/German.lng	2015-06-04 16:00:03 UTC (rev 5903)
+++ trunk/installer/release/lang/German.lng	2015-06-09 13:19:56 UTC (rev 5904)
@@ -747,8 +747,8 @@
 MSG_FWD_ADDRNOTFOUTD_ERROR=No address was found for the machine
 MSG_FWD_CONNECT_ERROR=The forwarding connection could not be established
 MSG_FWD_CHANNEL_ERROR=Communications error %s forwarded local %s.\n%s (code %d).\nThe forwarded connection will be closed.
-MSG_FWD_CHANNEL_OPEN_X_ERROR=The server attempted to forward a connection through this machine.\nIt requested a connection to the X server on %s (anzeige %d:%d).\n%s.\nThe forwarded connection will be closed.
-MSG_FWD_CHANNEL_OPEN_ERROR=The server attempted to forward a connection through this machine.\nIt requested a connection to %s (port %s).\n%s.\nThe forwarded connection will be closed.
+MSG_FWD_CHANNEL_OPEN_X_ERROR=The server attempted to forward a connection through this machine.\nIt requested a connection to the X server on %s (anzeige %d:%d).\n%s(code %d).\nThe forwarded connection will be closed.
+MSG_FWD_CHANNEL_OPEN_ERROR=The server attempted to forward a connection through this machine.\nIt requested a connection to %s (port %s).\n%s(code %d).\nThe forwarded connection will be closed.
 DLG_FWDMON_TITLE=TTSSH Port Forwarding Monitor
 MSG_FWD_HOSTILE_ATTACK_ERROR=Host with IP number %s tried to connect to forwarded local port %d.\nThis could be some kind of hostile attack.
 MSG_FWD_SOCKET_ERROR=Some socket(s) required for port forwarding could not be initialized.\nSome port forwarding services may not be available.\n(errno %d)

Modified: trunk/installer/release/lang/Japanese.lng
===================================================================
--- trunk/installer/release/lang/Japanese.lng	2015-06-04 16:00:03 UTC (rev 5903)
+++ trunk/installer/release/lang/Japanese.lng	2015-06-09 13:19:56 UTC (rev 5904)
@@ -748,8 +748,8 @@
 MSG_FWD_ADDRNOTFOUTD_ERROR=\x83}\x83V\x83\x93\x82ɃA\x83h\x83\x8C\x83X\x82\xAA\x82\xA0\x82\xE8\x82܂\xB9\x82\xF1
 MSG_FWD_CONNECT_ERROR=\x93]\x91\x97\x90ڑ\xB1\x82\xF0\x8Am\x97\xA7\x82ł\xAB\x82܂\xB9\x82\xF1\x82ł\xB5\x82\xBD
 MSG_FWD_CHANNEL_ERROR=\x92ʐM\x83G\x83\x89\x81[ %s forwarded local %s.\n%s (\x83R\x81[\x83h %d).\n\x93]\x91\x97\x90ڑ\xB1\x82\xF0\x8FI\x97\xB9\x82\xB5\x82܂\xB7.
-MSG_FWD_CHANNEL_OPEN_X_ERROR=\x83T\x81[\x83o\x82͂\xB1\x82̃}\x83V\x83\x93\x82ɓ]\x91\x97\x82\xF0\x8E\x8E\x82݂܂\xB5\x82\xBD.\n%s \x8F\xE3\x82\xCCX\x83T\x81[\x83o\x82ւ̐ڑ\xB1\x82\xF0\x97v\x8B\x81\x82\xB5\x82܂\xB5\x82\xBD (\x83f\x83B\x83X\x83v\x83\x8C\x83C %d:%d). \n%s.\n\x93]\x91\x97\x90ڑ\xB1\x82\xF0\x8FI\x97\xB9\x82\xB5\x82܂\xB7.
-MSG_FWD_CHANNEL_OPEN_ERROR=\x83T\x81[\x83o\x82͂\xB1\x82̃}\x83V\x83\x93\x82ɓ]\x91\x97\x82\xF0\x8E\x8E\x82݂܂\xB5\x82\xBD.\n%s \x82ւ̐ڑ\xB1\x82\xF0\x97v\x8B\x81\x82\xB5\x82܂\xB5\x82\xBD (\x83|\x81[\x83g %s).\n%s.\n\x93]\x91\x97\x90ڑ\xB1\x82\xF0\x8FI\x97\xB9\x82\xB5\x82܂\xB7.
+MSG_FWD_CHANNEL_OPEN_X_ERROR=\x83T\x81[\x83o\x82͂\xB1\x82̃}\x83V\x83\x93\x82ɓ]\x91\x97\x82\xF0\x8E\x8E\x82݂܂\xB5\x82\xBD.\n%s \x8F\xE3\x82\xCCX\x83T\x81[\x83o\x82ւ̐ڑ\xB1\x82\xF0\x97v\x8B\x81\x82\xB5\x82܂\xB5\x82\xBD (\x83f\x83B\x83X\x83v\x83\x8C\x83C %d:%d). \n%s(code %d).\n\x93]\x91\x97\x90ڑ\xB1\x82\xF0\x8FI\x97\xB9\x82\xB5\x82܂\xB7.
+MSG_FWD_CHANNEL_OPEN_ERROR=\x83T\x81[\x83o\x82͂\xB1\x82̃}\x83V\x83\x93\x82ɓ]\x91\x97\x82\xF0\x8E\x8E\x82݂܂\xB5\x82\xBD.\n%s \x82ւ̐ڑ\xB1\x82\xF0\x97v\x8B\x81\x82\xB5\x82܂\xB5\x82\xBD (\x83|\x81[\x83g %s).\n%s(code %d).\n\x93]\x91\x97\x90ڑ\xB1\x82\xF0\x8FI\x97\xB9\x82\xB5\x82܂\xB7.
 DLG_FWDMON_TITLE=TTSSH \x83|\x81[\x83g\x93]\x91\x97\x83\x82\x83j\x83^
 MSG_FWD_HOSTILE_ATTACK_ERROR=IP \x94ԍ\x86 %s \x82̃z\x83X\x83g\x82\xAA, \x83\x8D\x81[\x83J\x83\x8B\x83|\x81[\x83g %d \x82ɓ]\x91\x97\x90ڑ\xB1\x82\xF0\x8E\x8E\x82݂܂\xB5\x82\xBD.\n\x88\xAB\x88ӂ̂\xA0\x82\xE9\x8DU\x8C\x82\x82̏ꍇ\x82\xAA\x82\xA0\x82\xE8\x82܂\xB7.
 MSG_FWD_SOCKET_ERROR=\x83|\x81[\x83g\x93]\x91\x97\x82ɕK\x97v\x82Ȃ\xA2\x82\xAD\x82‚\xA9\x82̃\\x83P\x83b\x83g\x82̏\x89\x8A\xFA\x89\xBB\x82Ɏ\xB8\x94s\x82\xB5\x82܂\xB5\x82\xBD.\n\x82\xA2\x82\xAD\x82‚\xA9\x82̃|\x81[\x83g\x93]\x91\x97\x83T\x81[\x83r\x83X\x82͗\x98\x97p\x82ł\xAB\x82܂\xB9\x82\xF1.\n(\x83G\x83\x89\x81[\x94ԍ\x86 %d)

Modified: trunk/installer/release/lang/Korean.lng
===================================================================
--- trunk/installer/release/lang/Korean.lng	2015-06-04 16:00:03 UTC (rev 5903)
+++ trunk/installer/release/lang/Korean.lng	2015-06-09 13:19:56 UTC (rev 5904)
@@ -749,8 +749,8 @@
 MSG_FWD_ADDRNOTFOUTD_ERROR=\xC0\xCC \xC4\xC4ǻ\xC5\xCD\xC0\xC7 \xC1ּҸ\xA6 ã\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4ϴ\xD9
 MSG_FWD_CONNECT_ERROR=\xC6\xF7\xBF\xF6\xB5\xE5 \xBF\xAC\xB0\xE1\xC0\xBB \xBC\xB3\xC1\xA4\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4ϴ\xD9
 MSG_FWD_CHANNEL_ERROR=\xC5\xEB\xBD\xC5 \xBF\xC0\xB7\xF9 %s \xC6\xF7\xBF\xF6\xB5\xE5\xB5\xC8 \xC1\xF6\xBF\xAA \xC6\xF7Ʈ %s.\n%s (\xC4ڵ\xE5 %d).\n\xC6\xF7\xBF\xF6\xB5\xE5\xB5\xC8 \xBF\xAC\xB0\xE1\xC0\xCC \xC1\xBE\xB7\xE1\xB5˴ϴ\xD9.
-MSG_FWD_CHANNEL_OPEN_X_ERROR=\xBC\xAD\xB9\xF6\xB0\xA1 \xC0\xCC \xC4\xC4ǻ\xC5͸\xA6 \xC5\xEB\xC7\xD8 \xBF\xAC\xB0\xE1\xC0\xBB \xC6\xF7\xBF\xF6\xB5\xE5 \xC7Ϸ\xC1\xB0\xED \xC7մϴ\xD9.\n%s\xBF\xA1 \xC0ִ\xC2 X \xBC\xAD\xB9\xF6\xB7\xCE \xBF\xAC\xB0\xE1\xC0\xBB \xBF\xE4û\xC7߽\xC0\xB4ϴ\xD9 (ǥ\xB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0\xB4ϴ\xD9.\n(errno %d)

Modified: trunk/installer/release/lang/Russian.lng
===================================================================
--- trunk/installer/release/lang/Russian.lng	2015-06-04 16:00:03 UTC (rev 5903)
+++ trunk/installer/release/lang/Russian.lng	2015-06-09 13:19:56 UTC (rev 5904)
@@ -749,8 +749,8 @@
 MSG_FWD_ADDRNOTFOUTD_ERROR=\xCD\xE5 \xED\xE0\xE9\xE4\xE5\xED \xE0\xE4\xF0\xE5\xF1 \xEA\xEE\xEC\xEF\xFC\xFE\xF2\xE5\xF0\xE0
 MSG_FWD_CONNECT_ERROR=\xD1\xEE\xE5\xE4\xE8\xED\xE5\xED\xE8\xE5 \xEF\xE5\xF0\xE5\xF1\xFB\xEB\xEA\xE8 \xED\xE5 \xEC\xEE\xE6\xE5\xF2 \xE1\xFB\xF2\xFC \xF3\xF1\xF2\xE0\xED\xEE\xE2\xEB\xE5\xED\xEE
 MSG_FWD_CHANNEL_ERROR=\xCE\xF8\xE8\xE1\xEA\xE0 \xF1\xE2\xFF\xE7\xE8 %s \xEB\xEE\xEA\xE0\xEB\xFC\xED\xEE\xE9 \xEF\xE5\xF0\xE5\xF1\xFB\xEB\xEA\xE8 %s.\n%s (\xEA\xEE\xE4 %d).\n\xD1\xEE\xE5\xE4\xE8\xED\xE5\xED\xE8\xE5 \xEF\xE5\xF0\xE5\xF1\xFB\xEB\xEA\xE8 \xE1\xF3\xE4\xE5\xF2 \xE7\xE0\xEA\xF0\xFB\xF2\xEE
-MSG_FWD_CHANNEL_OPEN_X_ERROR=\xD1\xE5\xF0\xE2\xE5\xF0 \xEF\xEE\xEF\xFB\xF2\xE0\xEB\xF1\xFF \xEF\xE5\xF0\xE5\xED\xE0\xEF\xF0\xE0\xE2\xE8\xF2\xFC \xF1\xEE\xE5\xE4\xE8\xED\xE5\xED\xE8\xE5 \xF7\xE5\xF0\xE5\xE7 \xFD\xF2\xEE\xF2 \xEA\xEE\xEC\xEF\xFC\xFE\xF2\xE5\xF0.\n\xDD\xF2\xE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ACK_ERROR=\xD5\xEE\xF1\xF2 \xF1 IP-\xE0\xE4\xF0\xE5\xF1\xEE\xEC %s \xEF\xFB\xF2\xE0\xEB\xF1\xFF \xEF\xEE\xE4\xEA\xEB\xFE\xF7\xE8\xF2\xFC\xF1\xFF \xEA \xEB\xEE\xEA\xE0\xEB\xFC\xED\xEE\xEC\xF3 \xEF\xEE\xF0\xF2\xF3 \xEF\xE5\xF0\xE5\xF1\xFB\xEB\xEA\xE8 %d.\n\xDD\xF2\xEE \xEC\xEE\xE6\xE5\xF2 \xE1\xFB\xF2\xFC \xE2\xF0\xE0\xE6\xE4\xE5\xE1\xED\xEE\xE9 \xE0\xF2\xE0\xEA\xEE\xE9!
 MSG_FWD_SOCKET_ERROR=\xCD\xE5\xEA\xEE\xF2\xEE\xF0\xFB\xE5 \xF1\xEE\xEA\xE5\xF2\xFB, \xED\xE5\xEE\xE1\xF5\xEE\xE4\xE8\xEC\xFB\xE5 \xE4\xEB\xFF \xEF\xEE\xF0\xF2\xEE\xE2 \xEF\xE5\xF0\xE5\xF1\xFB\xEB\xEA\xE8, \xED\xE5 \xEC\xEE\xE3\xF3\xF2 \xE1\xFB\xF2\xFC \xE8\xED\xE8\xF6\xE8\xE0\xEB\xE8\xE7\xE8\xF0\xEE\xE2\xE0\xED\xFB.\n\xCD\xE5\xEA\xEE\xF2\xEE\xF0\xFB\xE5 \xF3\xF1\xEB\xF3\xE3\xE8 \xEF\xEE\xF0\xF2\xEE\xE2 \xEF\xE5\xF0\xE5\xF1\xFB\xEB\xEA\xE8 \xEC\xEE\xE3\xF3\xF2 \xE1\xFB\xF2\xFC \xED\xE5\xE4\xEE\xF1\xF2\xF3\xEF\xED\xFB.\n(errno %d)

Modified: trunk/installer/release/lang/Simplified Chinese.lng
===================================================================
--- trunk/installer/release/lang/Simplified Chinese.lng	2015-06-04 16:00:03 UTC (rev 5903)
+++ trunk/installer/release/lang/Simplified Chinese.lng	2015-06-09 13:19:56 UTC (rev 5904)
@@ -749,8 +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

Modified: trunk/installer/release/lang/Traditional Chinese.lng
===================================================================
--- trunk/installer/release/lang/Traditional Chinese.lng	2015-06-04 16:00:03 UTC (rev 5903)
+++ trunk/installer/release/lang/Traditional Chinese.lng	2015-06-09 13:19:56 UTC (rev 5904)
@@ -749,8 +749,8 @@
 MSG_FWD_ADDRNOTFOUTD_ERROR=\xA5\xBC\xA7\xE4\xA8\xEC\xB3]\xB3Ʀa\xA7}
 MSG_FWD_CONNECT_ERROR=\xB5L\xAAk\xABإ\xDF\xC2\xE0\xB5o\xB3s\xB1\xB5
 MSG_FWD_CHANNEL_ERROR=\xB3q\xABH\xBF\xF9\xBB~\xA1A\xB5o\xA5ͦb %s \xC2\xE0\xB5o\xA5\xBB\xA6a %s \xAEɡC\n%s\xA1]\xA5N\xBDX %d\xA1^\xA1C\n\xC2\xE0\xB5o\xB3s\xB1\xB5\xB1N\xB3Q\xC3\x{1B3B21}C
-MSG_FWD_CHANNEL_OPEN_X_ERROR=\xA6\xF8\xAAA\xBE\xB9\xB8չϳq\xB9L\xA5\xBB\xBE\xF7\xC2\xE0\xB5o\xA4@\xADӳs\xB1\xB5\xA1C\n\xA5\xA6\xBDШD\xA8\xEC %s X\xA6\xF8\xAAA\xBE\xB9\xAA\xBA\xB3s\xB1\xB5\xA1]\xC5\xE3\xA5\xDC %d:%d\xA1^\xA1C\n%s\xA1C\n\xC2\xE0\xB5o\xB3s\xB1\xB5\xB1N\xB3Q\xC3\x{1B3B21}C
-MSG_FWD_CHANNEL_OPEN_ERROR=\xA6\xF8\xAAA\xBE\xB9\xB8չϳq\xB9L\xA5\xBB\xBE\xF7\xC2\xE0\xB5o\xA4@\xADӳs\xB1\xB5\xA1C\n\xA5\xA6\xBDШD\xA8\xEC %s \xAA\xBA\xB3s\xB1\xB5\xA1]\xBAݤf %s\xA1^\xA1C\n%s.\n\xC2\xE0\xB5o\xB3s\xB1\xB5\xB1N\xB3Q\xC3\x{1B3B21}C
+MSG_FWD_CHANNEL_OPEN_X_ERROR=\xA6\xF8\xAAA\xBE\xB9\xB8չϳq\xB9L\xA5\xBB\xBE\xF7\xC2\xE0\xB5o\xA4@\xADӳs\xB1\xB5\xA1C\n\xA5\xA6\xBDШD\xA8\xEC %s X\xA6\xF8\xAAA\xBE\xB9\xAA\xBA\xB3s\xB1\xB5\xA1]\xC5\xE3\xA5\xDC %d:%d\xA1^\xA1C\n%s(code %d)\xA1C\n\xC2\xE0\xB5o\xB3s\xB1\xB5\xB1N\xB3Q\xC3\x{1B3B21}C
+MSG_FWD_CHANNEL_OPEN_ERROR=\xA6\xF8\xAAA\xBE\xB9\xB8չϳq\xB9L\xA5\xBB\xBE\xF7\xC2\xE0\xB5o\xA4@\xADӳs\xB1\xB5\xA1C\n\xA5\xA6\xBDШD\xA8\xEC %s \xAA\xBA\xB3s\xB1\xB5\xA1]\xBAݤf %s\xA1^\xA1C\n%s(code %d).\n\xC2\xE0\xB5o\xB3s\xB1\xB5\xB1N\xB3Q\xC3\x{1B3B21}C
 DLG_FWDMON_TITLE=TTSSH \xBAݤf\xC2\xE0\xB5o\xBAʵ\xF8\xBE\xB9
 MSG_FWD_HOSTILE_ATTACK_ERROR=IP \xAC\xB0 %s \xAA\xBA\xA5D\xBE\xF7\xA6b\xB8չϳs\xB1\xB5\xA8쥻\xA6a\xC2\xE0\xB5o\xBAݤf %d\xA1C\n\xB3o\xA5i\xAF\xE0\xACO\xACY\xBAشc\xB7N\xA7\xF0\xC0\xBB\xA1C
 MSG_FWD_SOCKET_ERROR=\xBAݤf\xC2\xE0\xB5o\xBBݭn\xAA\xBA\xA4@\xA8ǮM\xB1\xB5\xA6r\xAA\xEC\xA9l\xA4ƥ\xA2\xB1ѡC\n\xB3\xA1\xA4\xC0\xBAݤf\xC2\xE0\xB5o\xAAA\xB0ȥi\xAF\xE0\xB5L\xAAk\xA8ϥΡC\n\xA1]\xBF\xF9\xBB~\xBDs\xB8\xB9 %d\xA1^

Modified: trunk/ttssh2/ttxssh/fwd.c
===================================================================
--- trunk/ttssh2/ttxssh/fwd.c	2015-06-04 16:00:03 UTC (rev 5903)
+++ trunk/ttssh2/ttxssh/fwd.c	2015-06-09 13:19:56 UTC (rev 5904)
@@ -450,20 +450,20 @@
 		UTIL_get_lang_msg("MSG_FWD_CHANNEL_OPEN_X_ERROR", pvar,
 		                  "The server attempted to forward a connection through this machine.\n"
 		                  "It requested a connection to the X server on %s (display %d:%d).\n"
-		                  "%s.\n" "The forwarded connection will be closed.");
+		                  "%s(code %d).\n" "The forwarded connection will be closed.");
 		_snprintf_s(buf, sizeof(buf), _TRUNCATE,
 		            pvar->ts->UIMsg,
 		            request->spec.to_host, request->spec.to_port - 6000, request->spec.x11_screen,
-		            uimsg);
+		            uimsg, err);
 	} else {
 		UTIL_get_lang_msg("MSG_FWD_CHANNEL_OPEN_ERROR", pvar,
 		                  "The server attempted to forward a connection through this machine.\n"
-		                  "It requested a connection to %s (port %s).\n" "%s.\n"
+		                  "It requested a connection to %s (port %s).\n" "%s(code %d).\n"
 		                  "The forwarded connection will be closed.");
 		_snprintf_s(buf, sizeof(buf), _TRUNCATE,
 		            pvar->ts->UIMsg,
 		            request->spec.to_host, request->spec.to_port_name,
-		            uimsg);
+		            uimsg, err);
 	}
 	notify_nonfatal_error(pvar, buf);
 	FWD_free_channel(pvar, channel_num);



Ttssh2-commit メーリングリストの案内