wget-dev
[Top][All Lists]
Advanced

[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:12:30 +0000



Tim Rühsen started a new discussion on src/wget.c: 
https://gitlab.com/gnuwget/wget2/merge_requests/456#note_236630402

> + * Function to handle the option --convert-file-only
> + * Converts only the filename part of URLs found in the body of a page
> + * e.g. when used with -E
> + * //localhost/index becomes //localhost/index.html
> + */
> +static void convert_file_only(void)
> +{
> +     FILE *fpout = NULL;
> +     conversion_t *conversion;
> +     wget_buffer buf;
> +     char sbuf[1024];
> +
> +     wget_buffer_init(&buf, sbuf, sizeof(sbuf));
> +
> +     //check if conversions vector exists
> +     if(!conversions) {

space after if

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




reply via email to

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