wget-dev
[Top][All Lists]
Advanced

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

wget | Fix libproxy build with --disable-debug (!39)


From: Sam James (@thesamesam)
Subject: wget | Fix libproxy build with --disable-debug (!39)
Date: Tue, 16 Apr 2024 02:23:40 +0000


Sam James created a merge request: 
https://gitlab.com/gnuwget/wget/-/merge_requests/39

Project:Branches: thesamesam/wget:no-debug-libproxy to gnuwget/wget:master
Author:   Sam James




The definition of debug_logprintf in src/log.c is guarded by ENABLE_DEBUG
(although its prototype is unconditionally available in src/log.h).

The uses of debug_logprintf in src/retr.c aren't guarded by ENABLE_DEBUG.

Use the DEBUGP macro which is designed for this purpose.

* src/retr.c (getproxy): Use DEBUGP macro.

Fixes: https://gitlab.com/gnuwget/wget/-/issues/19
Copyright-paperwork-exempt: Yes

-- 
This project does not include diff previews in email notifications.
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget/-/merge_requests/39
You're receiving this email because of your account on gitlab.com.




reply via email to

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