slaveinterface speed calculations

Waldo Bastian bastian at kde.org
Wed Feb 16 16:45:11 GMT 2005


On Wednesday 16 February 2005 16:59, Felix Berger wrote:
> Hi,
>
> I noticed that the first couple of speed calculations in the SlaveInterface
> are way off when the download is resumed. The problem is that the resume
> offset is not taken into account for the calculations.
>
> I attached a rudimentary patch, still with debug output, that seems to
> solve the problem. This is the first time I had a closer look at the io
> slaves, so if someone could review this.

I haven't tried it, but it looks ok.

> I'm especially unsure if the offset value is already available when it is
> needed for the first time.

I think it will be in time.

Cheers,
Waldo
-- 
bastian at kde.org   |   Free Novell Linux Desktop 9 Evaluation Download
bastian at suse.com  |   http://www.novell.com/products/desktop/eval.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050216/9c2f6925/attachment.sig>


More information about the kde-core-devel mailing list