From: Wayne Davison Date: Wed, 8 Feb 2006 16:52:51 +0000 (+0000) Subject: Tweaked the --human-readable code to work with the new option parsing. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/7794db7c0d971b2f5db0b565ea840c9c6f1122e3 Tweaked the --human-readable code to work with the new option parsing. --- diff --git a/util.c b/util.c index 50ad3478..3beae578 100644 --- a/util.c +++ b/util.c @@ -1074,7 +1074,7 @@ char *human_num(int64 num) if (human_readable) { char units = '\0'; - int mult = human_readable == 1 ? 1024 : 1000; + int mult = human_readable == 1 ? 1000 : 1024; double dnum = 0; if (num > mult*mult*mult) { dnum = (double)num / (mult*mult*mult);