(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 30 Jul 2010 12:25:46 +0000 (12:25 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 30 Jul 2010 12:25:46 +0000 (12:25 +0000)
src/transport/test_plugin_transport_http.c
src/transport/test_plugin_transport_https.c

index c192dc08f63e28e2d04a98fc7e1402e36e752aa9..6dd6e4ef7514d1b02496d33d901b83361a19041b 100644 (file)
@@ -1203,8 +1203,8 @@ run (void *cls,
 
   /* load plugins... */
   setup_plugin_environment ();
-  GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading HTTP transport plugin `%s'\n"),"libgnunet_plugin_transport_http");
   GNUNET_asprintf (&libname, "libgnunet_plugin_transport_http");
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading HTTP transport plugin `%s'\n"),libname);
   api = GNUNET_PLUGIN_load (libname, &env);
   GNUNET_free (libname);
   if (api == NULL)
@@ -1215,6 +1215,7 @@ run (void *cls,
     return;
   }
 
+
   ti_timeout = GNUNET_SCHEDULER_add_delayed (sched, TEST_TIMEOUT, &task_timeout, NULL);
 
   /* testing plugin functionality */
index 58817005a4545fd5226ed3d9691daf23b0cd0621..e2102a2f9a6c8b5c1fc2bcf135143debe0322b21 100644 (file)
@@ -44,7 +44,7 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_YES
 #define DEBUG_CURL GNUNET_NO
 #define HTTP_BUFFER_SIZE 2048
 
@@ -1207,8 +1207,8 @@ run (void *cls,
 
   /* load plugins... */
   setup_plugin_environment ();
-  GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading HTTPS transport plugin `%s'\n"),"libgnunet_plugin_transport_http");
   GNUNET_asprintf (&libname, "libgnunet_plugin_transport_https");
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading HTTPS transport plugin `%s'\n"),libname);
   api = GNUNET_PLUGIN_load (libname, &env);
   GNUNET_free (libname);
   if (api == NULL)