diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2011-11-27 12:13:25 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2011-11-27 12:13:46 +0100 |
| commit | dd58c017207a6d05bcdaa47f106da8dc11b45fde (patch) | |
| tree | a3eacb6263cfa9346e6fdbb7d0efe5d81df60e41 | |
| parent | 8c5f88aee7fde1ea8dd9eaf29f390ef759f77c37 (diff) | |
Reset left at every sync
| -rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2108,6 +2108,7 @@ gboolean hashlist_item_sync(worker_data_t* data, xmlrpc_env * const env, up_rate = (guint64)tmpi64; torrent_data->up = (gfloat)up_rate / 1000.0f; + torrent_data->left = -1; if (torrent_data->downloaded < 100.0f) { if (down_rate >= 512) |
