aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/mhds_multi_daemon_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/mhds_multi_daemon_test.c')
-rw-r--r--src/testcurl/https/mhds_multi_daemon_test.c4
1 files changed, 3 insertions, 1 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 @@
29#include <curl/curl.h> 29#include <curl/curl.h>
30#include <sys/stat.h> 30#include <sys/stat.h>
31 31
32#define DEBUG_CURL_VERBOSE 0
33
32#define PAGE_NOT_FOUND "<html><head><title>File not found</title></head><body>File not found</body></html>" 34#define PAGE_NOT_FOUND "<html><head><title>File not found</title></head><body>File not found</body></html>"
33 35
34#define MHD_E_SERVER_INIT "Error: failed to start server\n" 36#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,
162 test_file_name); 164 test_file_name);
163 165
164 c = curl_easy_init (); 166 c = curl_easy_init ();
165#ifdef DEBUG 167#if DEBUG_CURL_VERBOSE
166 curl_easy_setopt (c, CURLOPT_VERBOSE, 1); 168 curl_easy_setopt (c, CURLOPT_VERBOSE, 1);
167#endif 169#endif
168 curl_easy_setopt (c, CURLOPT_URL, url); 170 curl_easy_setopt (c, CURLOPT_URL, url);