aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-tp-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index 3723f35c3..56f59a83a 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -542,7 +542,7 @@ tp_file_transferred_bytes_changed_cb (TpChannel *channel,
* the transfer, I think. */
curr_time = empathy_time_get_current ();
elapsed_time = curr_time - tp_file->priv->last_update_time;
- if (elapsed_time > 1)
+ if (elapsed_time >= 1)
{
transferred_bytes = count - tp_file->priv->last_update_transferred_bytes;
tp_file->priv->speed = (gdouble) transferred_bytes / (gdouble) elapsed_time;