aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_topology.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-22 21:59:27 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-22 21:59:27 +0000
commitf44c0036572d5557d2496748a4190a61e40e61ff (patch)
treebceb908e8542883ed246f96b4c619c0c49a06782 /src/testing/test_testing_topology.c
parent9d87d51965287d83ee332b8c50baff95bd62649a (diff)
downloadgnunet-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/test_testing_topology.c')
-rw-r--r--src/testing/test_testing_topology.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testing/test_testing_topology.c b/src/testing/test_testing_topology.c
index b83a8cf3c..e563f4d64 100644
--- a/src/testing/test_testing_topology.c
+++ b/src/testing/test_testing_topology.c
@@ -348,7 +348,8 @@ topology_cb (void *cls, const struct GNUNET_PeerIdentity *first,
348static int 348static int
349process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, 349process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer,
350 const struct GNUNET_MessageHeader *message, 350 const struct GNUNET_MessageHeader *message,
351 const struct GNUNET_ATS_Information *atsi) 351 const struct GNUNET_ATS_Information *atsi,
352 unsigned int atsi_count)
352{ 353{
353 char *dotOutFileNameFinished; 354 char *dotOutFileNameFinished;
354 FILE *dotOutFileFinished; 355 FILE *dotOutFileFinished;
@@ -537,10 +538,12 @@ init_notify_peer2 (void *cls, struct GNUNET_CORE_Handle *server,
537 * @param cls closure 538 * @param cls closure
538 * @param peer peer identity this notification is about 539 * @param peer peer identity this notification is about
539 * @param atsi performance data for the connection 540 * @param atsi performance data for the connection
541 * @param atsi_count number of records in 'atsi'
540 */ 542 */
541static void 543static void
542connect_notify_peers (void *cls, const struct GNUNET_PeerIdentity *peer, 544connect_notify_peers (void *cls, const struct GNUNET_PeerIdentity *peer,
543 const struct GNUNET_ATS_Information *atsi) 545 const struct GNUNET_ATS_Information *atsi,
546 unsigned int atsi_count)
544{ 547{
545 struct TestMessageContext *pos = cls; 548 struct TestMessageContext *pos = cls;
546 549