wget-dev
[Top][All Lists]
Advanced

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

Re: wget2 | Implement --check-certificate=quiet (!508)


From: @rockdaboot
Subject: Re: wget2 | Implement --check-certificate=quiet (!508)
Date: Tue, 19 Jul 2022 12:19:09 +0000



Tim Rühsen started a new discussion on libwget/log.c: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/508#note_1030881965

>       }
>  }
>  
> +void wget_error_printf_check(bool check, const char *fmt, ...)

I'd prefer not to add another API function for this.

Instead, put the check into the macros. Something like
```
#define error_printf_check(...) if (config.report_invalid_cert) 
wget_error_printf(__VA_ARGS__)
```

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




reply via email to

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