From: Christian Grothoff Date: Thu, 9 Sep 2010 08:20:32 +0000 (+0000) Subject: idea X-Git-Tag: initial-import-from-subversion-38251~20382 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4410e1e63a30aedebf29dbe7649a078c910cc18f;p=oweals%2Fgnunet.git idea --- 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) return NULL; } +#if BUILD_HTTPS +#define LIBGNUNET_PLUGIN_TRANSPORT_INIT libgnunet_plugin_transport_https_init +#else +#define LIBGNUNET_PLUGIN_TRANSPORT_INIT libgnunet_plugin_transport_http_init +#endif /** * Entry point for the plugin. */ void * -libgnunet_plugin_transport_http_init (void *cls) +LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls) { struct GNUNET_TRANSPORT_PluginEnvironment *env = cls; struct Plugin *plugin;