Return to downloader.c CVS log | Up to [local] / src / usr.bin / rsync |
version 1.13, 2019/02/16 16:56:33 | version 1.14, 2019/02/17 16:34:04 | ||
---|---|---|---|
|
|
||
if (sess->opts->server) | if (sess->opts->server) | ||
return; | return; | ||
frac = 0 == dl->total ? 100.0 : | frac = (dl->total == 0) ? 100.0 : | ||
100.0 * dl->downloaded / dl->total; | 100.0 * dl->downloaded / dl->total; | ||
if (dl->total > 1024 * 1024 * 1024) { | if (dl->total > 1024 * 1024 * 1024) { |