diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-22 21:59:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-22 21:59:27 +0000 |
commit | f44c0036572d5557d2496748a4190a61e40e61ff (patch) | |
tree | bceb908e8542883ed246f96b4c619c0c49a06782 /src/testing/testing_group.c | |
parent | 9d87d51965287d83ee332b8c50baff95bd62649a (diff) | |
download | gnunet-f44c0036572d5557d2496748a4190a61e40e61ff.tar.gz gnunet-f44c0036572d5557d2496748a4190a61e40e61ff.zip |
replacing 0-terminated atsi-array with array+length in core API (and the core-connect IPC)
Diffstat (limited to 'src/testing/testing_group.c')
-rw-r--r-- | src/testing/testing_group.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c index a2c68c93c..04c2cfd00 100644 --- a/src/testing/testing_group.c +++ b/src/testing/testing_group.c | |||
@@ -4877,7 +4877,8 @@ perform_dfs (struct GNUNET_TESTING_PeerGroup *pg, unsigned int num) | |||
4877 | */ | 4877 | */ |
4878 | static void | 4878 | static void |
4879 | internal_topology_callback (void *cls, const struct GNUNET_PeerIdentity *peer, | 4879 | internal_topology_callback (void *cls, const struct GNUNET_PeerIdentity *peer, |
4880 | const struct GNUNET_ATS_Information *atsi) | 4880 | const struct GNUNET_ATS_Information *atsi, |
4881 | unsigned int atsi_count) | ||
4881 | { | 4882 | { |
4882 | struct CoreContext *core_ctx = cls; | 4883 | struct CoreContext *core_ctx = cls; |
4883 | struct TopologyIterateContext *iter_ctx = core_ctx->iter_context; | 4884 | struct TopologyIterateContext *iter_ctx = core_ctx->iter_context; |
@@ -4941,7 +4942,7 @@ schedule_get_topology (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
4941 | &internal_topology_callback, core_context)) | 4942 | &internal_topology_callback, core_context)) |
4942 | { | 4943 | { |
4943 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Topology iteration failed.\n"); | 4944 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Topology iteration failed.\n"); |
4944 | internal_topology_callback (core_context, NULL, NULL); | 4945 | internal_topology_callback (core_context, NULL, NULL, 0); |
4945 | } | 4946 | } |
4946 | } | 4947 | } |
4947 | } | 4948 | } |