aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-01 12:56:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-01 12:56:09 +0000
commit366b62af2d8d0f166da75b149309228570f7d981 (patch)
treefafbf3e536eacc4862e6eaf8882d5de33f35c237 /tests
parenta6955aa486cf8af96e5bb6ff3e9c522c509cd5bf (diff)
always use the libcurl-provided *printf() functions
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sockfilt.c3
-rw-r--r--tests/server/sws.c3
-rw-r--r--tests/server/util.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index e177c676e..61cd235b5 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 852b27a2e..161cea678 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 3fea37c46..a3894cb44 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"