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

Diff for /src/usr.bin/ssh/progressmeter.c between version 1.16 and 1.17

version 1.16, 2003/09/23 20:18:52 version 1.17, 2003/11/20 11:39:28
Line 79 
Line 79 
                 bytes = (bytes + 512) / 1024;                  bytes = (bytes + 512) / 1024;
         }          }
         snprintf(buf, size, "%3lld.%1lld%c%s",          snprintf(buf, size, "%3lld.%1lld%c%s",
             (long long) bytes / 100,              (long long) (bytes + 5) / 100,
             (long long) (bytes + 5) / 10 % 10,              (long long) (bytes + 5) / 10 % 10,
             unit[i],              unit[i],
             i ? "B" : " ");              i ? "B" : " ");

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17