aboutsummaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-26 22:46:30 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-26 22:46:30 +0000
commitb8ae7e40861eaab57ea7473750049d46c4f49266 (patch)
tree9c308682fade6f64988dbd13e52efc8284ec0229 /src/vpn
parente1c37a7ef53856fd60b8c3ea3b0b095973fb298d (diff)
downloadgnunet-b8ae7e40861eaab57ea7473750049d46c4f49266.tar.gz
gnunet-b8ae7e40861eaab57ea7473750049d46c4f49266.zip
-less verbose
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/test_gnunet_vpn.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vpn/test_gnunet_vpn.c b/src/vpn/test_gnunet_vpn.c
index 781eae5ec..ea96ce59b 100644
--- a/src/vpn/test_gnunet_vpn.c
+++ b/src/vpn/test_gnunet_vpn.c
@@ -131,7 +131,9 @@ mhd_ahc (void *cls,
131 return MHD_YES; 131 return MHD_YES;
132 } 132 }
133 *unused = NULL; 133 *unused = NULL;
134#if VERBOSE
134 fprintf (stderr, "MHD sends respose for request to URL `%s'\n", url); 135 fprintf (stderr, "MHD sends respose for request to URL `%s'\n", url);
136#endif
135 response = MHD_create_response_from_buffer (strlen (url), 137 response = MHD_create_response_from_buffer (strlen (url),
136 (void *) url, 138 (void *) url,
137 MHD_RESPMEM_MUST_COPY); 139 MHD_RESPMEM_MUST_COPY);
@@ -239,7 +241,9 @@ curl_main ()
239 global_ret = 2; 241 global_ret = 2;
240 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world"))) 242 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world")))
241 global_ret = 3; 243 global_ret = 3;
244#if VERBOSE
242 fprintf (stderr, "Download complete, shutting down!\n"); 245 fprintf (stderr, "Download complete, shutting down!\n");
246#endif
243 do_shutdown (); 247 do_shutdown ();
244 return; 248 return;
245 } 249 }
@@ -309,8 +313,9 @@ allocation_cb (void *cls,
309 multi = curl_multi_init (); 313 multi = curl_multi_init ();
310 GNUNET_assert (multi != NULL); 314 GNUNET_assert (multi != NULL);
311 GNUNET_assert (CURLM_OK == curl_multi_add_handle (multi, curl)); 315 GNUNET_assert (CURLM_OK == curl_multi_add_handle (multi, curl));
312 316#if VERBOSE
313 fprintf (stderr, "Beginning HTTP download from `%s'\n", url); 317 fprintf (stderr, "Beginning HTTP download from `%s'\n", url);
318#endif
314 curl_main (); 319 curl_main ();
315} 320}
316 321