From 366b62af2d8d0f166da75b149309228570f7d981 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> Date: Sun, 1 May 2005 12:56:09 +0000 Subject: [PATCH] always use the libcurl-provided *printf() functions --- tests/server/sockfilt.c | 3 +++ tests/server/sws.c | 3 +++ tests/server/util.c | 3 +++ 3 files changed, 9 insertions(+) diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index e177c676e3..61cd235b5e 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -75,6 +75,9 @@ #include <netdb.h> #endif +#define ENABLE_CURLX_PRINTF +/* make the curlx header define all printf() functions to use the curlx_* + versions instead */ #include "curlx.h" /* from the private lib dir */ #include "getpart.h" #include "inet_pton.h" diff --git a/tests/server/sws.c b/tests/server/sws.c index 852b27a2ed..161cea678f 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -55,6 +55,9 @@ #include <netdb.h> #endif +#define ENABLE_CURLX_PRINTF +/* make the curlx header define all printf() functions to use the curlx_* + versions instead */ #include "curlx.h" /* from the private lib dir */ #include "getpart.h" #include "util.h" diff --git a/tests/server/util.c b/tests/server/util.c index 3fea37c46e..a3894cb44d 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -48,6 +48,9 @@ #include <netdb.h> #endif +#define ENABLE_CURLX_PRINTF +/* make the curlx header define all printf() functions to use the curlx_* + versions instead */ #include "curlx.h" /* from the private lib dir */ #include "getpart.h" #include "util.h" -- GitLab