diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-30 12:25:46 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-30 12:25:46 +0000 |
commit | 8a36b7889e3ff4b9b62d2863c90ab6481be83f65 (patch) | |
tree | 06830a3a33d50b5281bb7f7552d119267e2ae43b /src | |
parent | 1fb5ae00b7c0be25f1e0538365ccfb060a86635a (diff) | |
download | gnunet-8a36b7889e3ff4b9b62d2863c90ab6481be83f65.tar.gz gnunet-8a36b7889e3ff4b9b62d2863c90ab6481be83f65.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/test_plugin_transport_http.c | 3 | ||||
-rw-r--r-- | src/transport/test_plugin_transport_https.c | 4 |
2 files changed, 4 insertions, 3 deletions
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, | |||
1203 | 1203 | ||
1204 | /* load plugins... */ | 1204 | /* load plugins... */ |
1205 | setup_plugin_environment (); | 1205 | setup_plugin_environment (); |
1206 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading HTTP transport plugin `%s'\n"),"libgnunet_plugin_transport_http"); | ||
1207 | GNUNET_asprintf (&libname, "libgnunet_plugin_transport_http"); | 1206 | GNUNET_asprintf (&libname, "libgnunet_plugin_transport_http"); |
1207 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading HTTP transport plugin `%s'\n"),libname); | ||
1208 | api = GNUNET_PLUGIN_load (libname, &env); | 1208 | api = GNUNET_PLUGIN_load (libname, &env); |
1209 | GNUNET_free (libname); | 1209 | GNUNET_free (libname); |
1210 | if (api == NULL) | 1210 | if (api == NULL) |
@@ -1215,6 +1215,7 @@ run (void *cls, | |||
1215 | return; | 1215 | return; |
1216 | } | 1216 | } |
1217 | 1217 | ||
1218 | |||
1218 | ti_timeout = GNUNET_SCHEDULER_add_delayed (sched, TEST_TIMEOUT, &task_timeout, NULL); | 1219 | ti_timeout = GNUNET_SCHEDULER_add_delayed (sched, TEST_TIMEOUT, &task_timeout, NULL); |
1219 | 1220 | ||
1220 | /* testing plugin functionality */ | 1221 | /* 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 @@ | |||
44 | #include <netinet/in.h> | 44 | #include <netinet/in.h> |
45 | #include <arpa/inet.h> | 45 | #include <arpa/inet.h> |
46 | 46 | ||
47 | #define VERBOSE GNUNET_NO | 47 | #define VERBOSE GNUNET_YES |
48 | #define DEBUG_CURL GNUNET_NO | 48 | #define DEBUG_CURL GNUNET_NO |
49 | #define HTTP_BUFFER_SIZE 2048 | 49 | #define HTTP_BUFFER_SIZE 2048 |
50 | 50 | ||
@@ -1207,8 +1207,8 @@ run (void *cls, | |||
1207 | 1207 | ||
1208 | /* load plugins... */ | 1208 | /* load plugins... */ |
1209 | setup_plugin_environment (); | 1209 | setup_plugin_environment (); |
1210 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading HTTPS transport plugin `%s'\n"),"libgnunet_plugin_transport_http"); | ||
1211 | GNUNET_asprintf (&libname, "libgnunet_plugin_transport_https"); | 1210 | GNUNET_asprintf (&libname, "libgnunet_plugin_transport_https"); |
1211 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading HTTPS transport plugin `%s'\n"),libname); | ||
1212 | api = GNUNET_PLUGIN_load (libname, &env); | 1212 | api = GNUNET_PLUGIN_load (libname, &env); |
1213 | GNUNET_free (libname); | 1213 | GNUNET_free (libname); |
1214 | if (api == NULL) | 1214 | if (api == NULL) |