Mercurial > pidgin
diff src/ft.h @ 13598:41e40b323dc3
[gaim-migrate @ 15984]
Previously our file transfer dialog showed "time elapsed" as the current
time minus the time when the transfer was added to the ft dialog.
When sending a file, the transfer is added when you offer the file to
the remote user, not when the transfer actually starts. This meant the
"time elapsed" was longer than it should have been, which threw off the
transfer rate.
This should fix that.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 09 Apr 2006 17:38:38 +0000 |
| parents | 661bce46758b |
| children |
line wrap: on
line diff
--- a/src/ft.h Sun Apr 09 17:33:25 2006 +0000 +++ b/src/ft.h Sun Apr 09 17:38:38 2006 +0000 @@ -106,6 +106,8 @@ size_t bytes_sent; /**< The number of bytes sent. */ size_t bytes_remaining; /**< The number of bytes remaining. */ + time_t start_time; /**< When the transfer of data began. */ + time_t end_time; /**< When the transfer of data ended. */ GaimXferStatusType status; /**< File Transfer's status. */
