Fix libproxy build with --disable-debug

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: #19 (closed) Copyright-paperwork-exempt: Yes

Merge request reports

Loading