[BACK]Return to scp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/scp.c between version 1.20 and 1.21

version 1.20, 1999/11/24 19:53:50 version 1.21, 1999/11/24 20:26:35
Line 1146 
Line 1146 
         (void) gettimeofday(&now, (struct timezone *) 0);          (void) gettimeofday(&now, (struct timezone *) 0);
         cursize = statbytes;          cursize = statbytes;
         if (totalbytes != 0) {          if (totalbytes != 0) {
                 ratio = cursize * 100 / totalbytes;                  ratio = 100.0 * cursize / totalbytes;
                 ratio = MAX(ratio, 0);                  ratio = MAX(ratio, 0);
                 ratio = MIN(ratio, 100);                  ratio = MIN(ratio, 100);
         } else          } else

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21