wget-dev
[Top][All Lists]
Advanced

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

Re: wget2 | Draft: Small fixes (!505)


From: @rockdaboot
Subject: Re: wget2 | Draft: Small fixes (!505)
Date: Sun, 29 May 2022 15:56:22 +0000



Tim Rühsen started a new discussion on unit-tests/test.c: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/505#note_963564442

>                       }
>               }
>       }
> +
> +     char expected[1] = "";
> +     for (int ws = 0; ws <= 2; ws++) {
> +             wget_buffer_printf(&buf, "%.*s", ws, " ");

In order to get two spaces for ws=2, this needs to be
```
wget_buffer_printf(&buf, "%*.*s", ws, ws, " ");
```

Thanks for the new test !

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




reply via email to

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