diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 13:57:07 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 13:57:07 +0000 |
commit | 9c5f79c56afe2afccd67c6f761d8f409d7222012 (patch) | |
tree | 67db53a9256e9d52420ea74423bb9b3e36fbe4b0 /lib/setup.h | |
parent | ef5eea689a0cf2105eadf5053f72745f23fa7e29 (diff) |
DEBUGF() is a new conveniant macro to add infof() calls (or similar) for
debug builds only. Made the ftp code use it on several places.
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h index 8ec4649af..201e783d5 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -295,4 +295,10 @@ typedef int curl_socket_t; #define USE_NTLM #endif +#ifdef CURLDEBUG +#define DEBUGF(x) x +#else +#define DEBUGF(x) +#endif + #endif /* __CONFIG_H */ |