wget-dev
[Top][All Lists]
Advanced

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

Re: [Wget-dev] wget2 | WIP: Implemented limit-rate feature (!420)


From: Tim Rühsen
Subject: Re: [Wget-dev] wget2 | WIP: Implemented limit-rate feature (!420)
Date: Mon, 22 Apr 2019 17:54:42 +0000



Tim Rühsen started a new discussion on tests/test-limit-rate.c: 
https://gitlab.com/gnuwget/wget2/merge_requests/420#note_162972634

> + * Testing Wget
> + *
> + * Changelog
> + * 22.04.2019  Rohan Fletcher  created
> + *
> + */
> +
> +#include <config.h>
> +
> +#include <stdlib.h> // exit()
> +#include <sys/time.h>
> +#include "libtest.h"
> +
> +#define SECONDS 1000000
> +
> +#define SIZE_BUFFER 1 * 1024 * 1024

Remove this #define, use the size directly in the array declaration, later on 
use sizeof().

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




reply via email to

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