wget-dev
[Top][All Lists]
Advanced

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

Re: wget2 | Fix robots.txt parser (!510)


From: @rockdaboot
Subject: Re: wget2 | Fix robots.txt parser (!510)
Date: Fri, 19 Aug 2022 18:49:34 +0000



Tim Rühsen started a new discussion on libwget/robots.c: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/510#note_1070984220

>       xfree(p);
>  }
>  
> +static bool parse_record_field(const char **data, const char *field)
> +{
> +     for (; isblank(**data); (*data)++);

We have this pattern 3x in this function. What about a static inline function 
`advance_blank` or so ?

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




reply via email to

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