wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wget-dev] wget2 | Fix progress display (issue #339) (!391)


From: Darshit Shah
Subject: Re: [Wget-dev] wget2 | Fix progress display (issue #339) (!391)
Date: Fri, 17 Aug 2018 09:11:40 +0000

Darshit Shah commented on a discussion on libwget/bar.c:

>  void wget_bar_slot_downloaded(wget_bar_t *bar, int slot, size_t nbytes)
>  {
>       wget_thread_mutex_lock(bar->mutex);
> -     bar->slots[slot].bytes_downloaded = nbytes;
> +     bar->slots[slot].bytes_downloaded += nbytes;

Could you please change the documentation for this function to represent the 
new meaning of `nbytes`?

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/merge_requests/391#note_95088231
You're receiving this email because of your account on gitlab.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]