fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 18 Jan 2010 10:01:45 +0000 (10:01 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 18 Jan 2010 10:01:45 +0000 (10:01 +0000)
src/core/test_core_api.c
src/core/test_core_api_start_only.c

index c0950924f103b30eb2ffc15267850312e219fb4f..3de162a82ace61b87349ba7d883e7851d0b8d340 100644 (file)
@@ -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);
 }
index 5ca750664b9175edc221e675544ccf3ad635de56..bf5db63c0d85d9ca12431ae14ee6f157bc4c2054 100644 (file)
@@ -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);
 }