diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:43:47 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:43:47 +0000 |
commit | 75c121f5ae37d3c7ccd95f4449aea33ccb4200f0 (patch) | |
tree | 3fb440657f99a826cc4f963db55e28cb426ed9d8 /src/core/test_core_api_send_to_self.c | |
parent | eb2371484330014aaef9b0bfac1f1ae191bc2460 (diff) | |
download | gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.tar.gz gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.zip |
change to core pai
Diffstat (limited to 'src/core/test_core_api_send_to_self.c')
-rw-r--r-- | src/core/test_core_api_send_to_self.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/test_core_api_send_to_self.c b/src/core/test_core_api_send_to_self.c index c56e227e5..82048ea92 100644 --- a/src/core/test_core_api_send_to_self.c +++ b/src/core/test_core_api_send_to_self.c | |||
@@ -71,8 +71,7 @@ cleanup (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tskctx) | |||
71 | 71 | ||
72 | static int | 72 | static int |
73 | receive (void *cls, const struct GNUNET_PeerIdentity *other, | 73 | receive (void *cls, const struct GNUNET_PeerIdentity *other, |
74 | const struct GNUNET_MessageHeader *message, | 74 | const struct GNUNET_MessageHeader *message) |
75 | const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count) | ||
76 | { | 75 | { |
77 | if (die_task != GNUNET_SCHEDULER_NO_TASK) | 76 | if (die_task != GNUNET_SCHEDULER_NO_TASK) |
78 | GNUNET_SCHEDULER_cancel (die_task); | 77 | GNUNET_SCHEDULER_cancel (die_task); |
@@ -120,8 +119,7 @@ init (void *cls, struct GNUNET_CORE_Handle *core, | |||
120 | 119 | ||
121 | 120 | ||
122 | static void | 121 | static void |
123 | connect_cb (void *cls, const struct GNUNET_PeerIdentity *peer, | 122 | connect_cb (void *cls, const struct GNUNET_PeerIdentity *peer) |
124 | const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count) | ||
125 | { | 123 | { |
126 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Connected to peer %s.\n", | 124 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Connected to peer %s.\n", |
127 | GNUNET_i2s (peer)); | 125 | GNUNET_i2s (peer)); |