[Ttssh2-commit] [4453] 速度計算を間違えていたので修正。

svnno****@sourc***** svnno****@sourc*****
2011年 4月 19日 (火) 16:13:07 JST


Revision: 4453
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4453
Author:   doda
Date:     2011-04-19 16:13:07 +0900 (Tue, 19 Apr 2011)

Log Message:
-----------
速度計算を間違えていたので修正。

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/ssh.c


-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/ssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ssh.c	2011-04-19 00:13:48 UTC (rev 4452)
+++ trunk/ttssh2/ttxssh/ssh.c	2011-04-19 07:13:07 UTC (rev 4453)
@@ -7564,7 +7564,7 @@
 					_snprintf_s(s, sizeof(s), _TRUNCATE, "%d:%02d (%d.%02d %s)", elapsed / 60, elapsed % 60, rate / 1000, rate / 10 % 100, "KBytes/s");
 				}
 				else {
-					_snprintf_s(s, sizeof(s), _TRUNCATE, "%d:%02d (%d.%02d %s)", elapsed / 60, elapsed % 60, rate / (1000 * 1000), rate / 100000 % 100, "MBytes/s");
+					_snprintf_s(s, sizeof(s), _TRUNCATE, "%d:%02d (%d.%02d %s)", elapsed / 60, elapsed % 60, rate / (1000 * 1000), rate / 10000 % 100, "MBytes/s");
 				}
 			}
 			else {



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