]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix potential float screwup in scp percentage indicator. (Don't
authorSimon Tatham <anakin@pobox.com>
Sat, 8 Sep 2001 15:16:30 +0000 (15:16 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 8 Sep 2001 15:16:30 +0000 (15:16 +0000)
commitb5dcdf7fc81339532ebae2776de586b7258b961e
treef7d431fc824489b23562e55367212dd3e82f0302
parentb12f45096412ae6d1e04c0279e7168ef01907a65
Fix potential float screwup in scp percentage indicator. (Don't
compute (100*a)/b. Instead compute 100*(a/b), because that way
there's no chance that 100*a will become inexact enough to fail to
yield 100 when a==b.)

[originally from svn r1254]
scp.c