From d6aff032347ea051610fd23c1791f5ed37fec512 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 11 Sep 2008 02:50:17 +0000 Subject: [PATCH] fix --- src/testcurl/https/mhds_multi_daemon_test.c | 4 +++- src/testcurl/https/mhds_session_info_test.c | 3 ++- src/testcurl/https/tls_authentication_test.c | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/testcurl/https/mhds_multi_daemon_test.c b/src/testcurl/https/mhds_multi_daemon_test.c index 38e6c20a..97effd60 100644 --- a/src/testcurl/https/mhds_multi_daemon_test.c +++ b/src/testcurl/https/mhds_multi_daemon_test.c @@ -29,6 +29,8 @@ #include #include +#define DEBUG_CURL_VERBOSE 0 + #define PAGE_NOT_FOUND "File not foundFile not found" #define MHD_E_SERVER_INIT "Error: failed to start server\n" @@ -162,7 +164,7 @@ test_daemon_get (FILE * test_fd, char *cipher_suite, int proto_version, test_file_name); c = curl_easy_init (); -#ifdef DEBUG +#if DEBUG_CURL_VERBOSE curl_easy_setopt (c, CURLOPT_VERBOSE, 1); #endif curl_easy_setopt (c, CURLOPT_URL, url); diff --git a/src/testcurl/https/mhds_session_info_test.c b/src/testcurl/https/mhds_session_info_test.c index 99d7455b..67e80746 100644 --- a/src/testcurl/https/mhds_session_info_test.c +++ b/src/testcurl/https/mhds_session_info_test.c @@ -28,6 +28,7 @@ #include "microhttpd.h" #include +#define DEBUG_CURL_VERBOSE 0 #define EMPTY_PAGE "Empty pageEmpty page" #include "tls_test_keys.h" @@ -166,7 +167,7 @@ test_query_session () return 2; c = curl_easy_init (); -#ifdef DEBUG +#ifdef DEBUG_CURL_VERBOSE curl_easy_setopt (c, CURLOPT_VERBOSE, 1); #endif curl_easy_setopt (c, CURLOPT_URL, url); diff --git a/src/testcurl/https/tls_authentication_test.c b/src/testcurl/https/tls_authentication_test.c index edc018b2..f7d05a74 100644 --- a/src/testcurl/https/tls_authentication_test.c +++ b/src/testcurl/https/tls_authentication_test.c @@ -29,6 +29,7 @@ #include #include +#define DEBUG_CURL_VERBOSE 0 #define PAGE_NOT_FOUND "File not foundFile not found" #define MHD_E_MEM "Error: memory error\n" @@ -170,7 +171,7 @@ test_daemon_get (FILE * test_fd, char *cipher_suite, int proto_version) doc_path, test_file_name); c = curl_easy_init (); -#ifdef DEBUG +#if DEBUG_CURL_VERBOSE curl_easy_setopt (c, CURLOPT_VERBOSE, 1); #endif curl_easy_setopt (c, CURLOPT_URL, url);