From: Matthias Wachs Date: Fri, 30 Jul 2010 12:25:46 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~20803 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8a36b7889e3ff4b9b62d2863c90ab6481be83f65;p=oweals%2Fgnunet.git --- diff --git a/src/transport/test_plugin_transport_http.c b/src/transport/test_plugin_transport_http.c index c192dc08f..6dd6e4ef7 100644 --- a/src/transport/test_plugin_transport_http.c +++ b/src/transport/test_plugin_transport_http.c @@ -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 */ diff --git a/src/transport/test_plugin_transport_https.c b/src/transport/test_plugin_transport_https.c index 58817005a..e2102a2f9 100644 --- a/src/transport/test_plugin_transport_https.c +++ b/src/transport/test_plugin_transport_https.c @@ -44,7 +44,7 @@ #include #include -#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)