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: Avinash Sonawane (@rootkea)
Subject: Re: wget2 | Draft: Small fixes (!505)
Date: Mon, 06 Jun 2022 12:58:08 +0000



Avinash Sonawane commented on a discussion on unit-tests/test.c: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/505#note_972466412

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

Ah, I forgot one space from the string. I think `wget_buffer_printf(&buf, 
"%.*s", ws, "  ");` should work. (borrowing pattern from the previous loop in 
just above code)

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




reply via email to

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