X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fwget.h;h=718ee0b169bdad70fc73f863a5f6dcdd18d112da;hp=196f913c59c2669ce2da29f43aa2e3e98660655e;hb=b0b1c815c15e49c9172f59428810713097a65e37;hpb=ccf31643ab5226a81632329ddc19e1c81b5a85b6 diff --git a/src/wget.h b/src/wget.h index 196f913c..718ee0b1 100644 --- a/src/wget.h +++ b/src/wget.h @@ -71,7 +71,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Print X if debugging is enabled; a no-op otherwise. */ #ifdef DEBUG -# define DEBUGP(x) do { debug_logprintf x; } while (0) +# define DEBUGP(x) do { if (opt.debug) { debug_logprintf x; } } while (0) #else /* not DEBUG */ # define DEBUGP(x) DO_NOTHING #endif /* not DEBUG */