diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-09 08:20:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-09 08:20:32 +0000 |
commit | 4410e1e63a30aedebf29dbe7649a078c910cc18f (patch) | |
tree | 89a05a1acc19979c752ac228852c44bcff591d77 /src | |
parent | 92fbbc82d4bd9a19a6f83ccee592f8c77dd5838c (diff) | |
download | gnunet-4410e1e63a30aedebf29dbe7649a078c910cc18f.tar.gz gnunet-4410e1e63a30aedebf29dbe7649a078c910cc18f.zip |
idea
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/plugin_transport_http.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index b4488ffa4..f1896b6cc 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -2448,12 +2448,17 @@ libgnunet_plugin_transport_http_done (void *cls) | |||
2448 | return NULL; | 2448 | return NULL; |
2449 | } | 2449 | } |
2450 | 2450 | ||
2451 | #if BUILD_HTTPS | ||
2452 | #define LIBGNUNET_PLUGIN_TRANSPORT_INIT libgnunet_plugin_transport_https_init | ||
2453 | #else | ||
2454 | #define LIBGNUNET_PLUGIN_TRANSPORT_INIT libgnunet_plugin_transport_http_init | ||
2455 | #endif | ||
2451 | 2456 | ||
2452 | /** | 2457 | /** |
2453 | * Entry point for the plugin. | 2458 | * Entry point for the plugin. |
2454 | */ | 2459 | */ |
2455 | void * | 2460 | void * |
2456 | libgnunet_plugin_transport_http_init (void *cls) | 2461 | LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls) |
2457 | { | 2462 | { |
2458 | struct GNUNET_TRANSPORT_PluginEnvironment *env = cls; | 2463 | struct GNUNET_TRANSPORT_PluginEnvironment *env = cls; |
2459 | struct Plugin *plugin; | 2464 | struct Plugin *plugin; |