From: Christian Grothoff Date: Fri, 15 Jan 2010 12:21:02 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22964 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6cc0ff803561b9c05736781042811d73d75761b2;p=oweals%2Fgnunet.git fix --- diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index 2cca79cb0..283312bfe 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c @@ -93,7 +93,7 @@ static int ok; * Initialize Environment for this plugin */ struct ReadyList * -receive(void *cls,void *plugin_context, +receive(void *cls, struct ReadyList * service_context, struct GNUNET_TIME_Relative @@ -116,17 +116,6 @@ void notify_address(void *cls, { } -void lookup (void *cls, - struct GNUNET_TIME_Relative - timeout, - const struct - GNUNET_PeerIdentity * target, - GNUNET_TRANSPORT_AddressCallback - iter, void *iter_cls) -{ -} - - /** * Function called when the service shuts * down. Unloads our plugins. @@ -243,7 +232,6 @@ static void setup_plugin_environment() env.my_identity = &my_identity; env.cls=&env; env.receive=&receive; - env.lookup=&lookup; env.notify_address=¬ify_address; env.notify_validation = &validation_notification; env.max_connections = max_connect_per_transport;