[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Added --convert-file-only handling (!456)
From: |
Tim Rühsen |
Subject: |
Re: wget2 | Added --convert-file-only handling (!456) |
Date: |
Mon, 28 Oct 2019 18:14:47 +0000 |
Tim Rühsen started a new discussion on src/wget.c:
https://gitlab.com/gnuwget/wget2/merge_requests/456#note_236631433
> + blacklist_entry *blacklist_entry;
> +
> + if (!iri) {
> + wget_error_printf(_("Cannot resolve URI
> '%s'\n"), buf.data);
> + continue;
> + }
> +
> + if (!(blacklist_entry = blacklist_add(iri))) {
> + blacklist_entry = blacklist_get(iri);
> + wget_iri_free(&iri);
> + }
> +
> + const char *filename =
> blacklist_entry->local_filename;
> +
> + //reset buffer for use later
> + wget_buffer_reset(&buf);
Do don't need that if you replace the two `wget_buffer_memcat` into
`wget_buffer_memcpy`.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/merge_requests/456#note_236631433
You're receiving this email because of your account on gitlab.com.
- wget2 | Added --convert-file-only handling (!456), Archit Pandey, 2019/10/28
- Re: wget2 | Added --convert-file-only handling (!456), Archit Pandey, 2019/10/28
- Re: wget2 | Added --convert-file-only handling (!456), Archit Pandey, 2019/10/28
- Re: wget2 | Added --convert-file-only handling (!456), Tim Rühsen, 2019/10/28
- Re: wget2 | Added --convert-file-only handling (!456), Tim Rühsen, 2019/10/28
- Re: wget2 | Added --convert-file-only handling (!456), Tim Rühsen, 2019/10/28
- Re: wget2 | Added --convert-file-only handling (!456),
Tim Rühsen <=
- Re: wget2 | Added --convert-file-only handling (!456), Tim Rühsen, 2019/10/28
- Re: wget2 | Added --convert-file-only handling (!456), Tim Rühsen, 2019/10/28