diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-01-09 21:53:19 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-01-09 21:53:19 +0000 |
commit | 72bb780b802b84a4cf8da26c4e435132a2523267 (patch) | |
tree | 02449b50cafb8e89b7422450931ce5dda8150533 /src/torrent.c | |
parent | c0e12ac389135850dcd45ce108f5a6a0200ae03f (diff) |
forgot a file, reindent
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 |