summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-12 11:59:36 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-12 11:59:36 +0000
commit1ec4eb81c9bb4f6d720e0f77e504b1ca01d408b5 (patch)
treeda297a18d171f6024b9d8d16f6f5e96b7f19fc9c /src/util.c
parent2aacfd5e691a7c8b37c2fc1dbcf001615c205b97 (diff)
use the same function used for torrent/recheck progress in peer progress.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 07a6440..932ef25 100644
--- a/src/util.c
+++ b/src/util.c
@@ -368,7 +368,7 @@ void trg_widget_set_visible(GtkWidget * w, gboolean visible) {
gtk_widget_hide(w);
}
-gdouble json_int_or_double_to_double(JsonNode *n)
+gdouble json_double_to_progress(JsonNode *n)
{
GValue a = { 0 };
json_node_get_value(n, &a);