diff options
Diffstat (limited to 'src/torrent.c')
-rw-r--r-- | src/torrent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/torrent.c b/src/torrent.c index fbc5884..b5dcd7c 100644 --- a/src/torrent.c +++ b/src/torrent.c @@ -610,7 +610,8 @@ gint64 peerfrom_get_lpd(JsonObject * pf) gdouble file_get_progress(gint64 length, gint64 completed) { if (length > 0) { - gdouble progress = ((gdouble) completed / (gdouble) length) * 100.0; + gdouble progress = + ((gdouble) completed / (gdouble) length) * 100.0; if (progress > 100.0) return 100.0; else |