Fix potential float screwup in scp percentage indicator. (Don't
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Sep 2001 15:16:30 +0000 (15:16 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Sep 2001 15:16:30 +0000 (15:16 +0000)
commit5578d18e2b3ae73c18fd3bff4f55fcaa7b83a8f9
treef7d431fc824489b23562e55367212dd3e82f0302
parent614a20a0312335b76fb7a080c73b36cf81965d86
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.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1254 cda61777-01e9-0310-a592-d414129be87e
scp.c