From 4c78344337296b4a11e9d22d46223e1592ffd5f2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 18 Jan 2010 10:01:45 +0000 Subject: [PATCH] fix --- src/core/test_core_api.c | 15 --------------- src/core/test_core_api_start_only.c | 12 ------------ 2 files changed, 27 deletions(-) diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c index c0950924f..3de162a82 100644 --- a/src/core/test_core_api.c +++ b/src/core/test_core_api.c @@ -122,19 +122,6 @@ disconnect_notify (void *cls, } -static unsigned int -bfc_callback (void *cls, - const struct GNUNET_PeerIdentity *receiver, - void *position, - size_t padding) -{ - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Core requests data for `%4s', I have none.\n", - GNUNET_i2s (receiver)); - return 0; -} - - static int inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, @@ -230,7 +217,6 @@ init_notify (void *cls, &init_notify, &connect_notify, &disconnect_notify, - &bfc_callback, &inbound_notify, GNUNET_YES, &outbound_notify, GNUNET_YES, handlers); @@ -321,7 +307,6 @@ run (void *cls, &init_notify, &connect_notify, &disconnect_notify, - &bfc_callback, &inbound_notify, GNUNET_YES, &outbound_notify, GNUNET_YES, handlers); } diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index 5ca750664..bf5db63c0 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c @@ -83,16 +83,6 @@ disconnect_notify (void *cls, } -static unsigned int -bfc_callback (void *cls, - const struct GNUNET_PeerIdentity *receiver, - void *position, - size_t padding) -{ - return 0; -} - - static int inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, @@ -137,7 +127,6 @@ init_notify (void *cls, &init_notify, &connect_notify, &disconnect_notify, - &bfc_callback, &inbound_notify, GNUNET_YES, &outbound_notify, GNUNET_YES, handlers); @@ -191,7 +180,6 @@ run (void *cls, &init_notify, &connect_notify, &disconnect_notify, - &bfc_callback, &inbound_notify, GNUNET_YES, &outbound_notify, GNUNET_YES, handlers); } -- 2.25.1