diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2005-07-04 06:56:56 +0000 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2005-07-04 06:56:56 +0000 |
| commit | b5ee1dba08af321f5d593c72dc8e802639bb7e2f (patch) | |
| tree | 1d7ebc442945df50ca273ef18182c79a5f9e0e32 | |
| parent | c8ba22b776515f5973fad791aeac861f7c80d9b1 (diff) | |
| download | btpd-b5ee1dba08af321f5d593c72dc8e802639bb7e2f.tar.gz btpd-b5ee1dba08af321f5d593c72dc8e802639bb7e2f.zip | |
Must save the old time to be able to calculate the delta.
| -rw-r--r-- | cli/btcli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/btcli.c b/cli/btcli.c index 40cf58f..b2f49bf 100644 --- a/cli/btcli.c +++ b/cli/btcli.c @@ -430,6 +430,7 @@ again: if (ds < 0) ds = wait; } + tv_old = tv_cur; cur = parse_tors(res, hashes, nhashes); free(res); |