f-xi
authorChristian Grothoff <christian@grothoff.org>
Thu, 3 May 2012 11:36:52 +0000 (11:36 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 3 May 2012 11:36:52 +0000 (11:36 +0000)
src/peerinfo/perf_peerinfo_api.c
src/peerinfo/test_peerinfo_api.c

index 3396930544b38dc55b45842ae6259627936cb5d1..1492e078926b2ebc6ec940b211d0b97fa344e3c7 100755 (executable)
@@ -98,7 +98,7 @@ add_peer (size_t i)
   memset (&pkey, i, sizeof (pkey));
   GNUNET_CRYPTO_hash (&pkey, sizeof (pkey), &pid.hashPubKey);
   h2 = GNUNET_HELLO_create (&pkey, &address_generator, &i);
-  GNUNET_PEERINFO_add_peer (h, h2);
+  GNUNET_PEERINFO_add_peer (h, h2, NULL, NULL);
   GNUNET_free (h2);
 }
 
index 71da46be4e9e6dff6164c6b7a010c5bead8cab91..e4eb7d4805de30a2a3adaa033679f46539ddc64e 100644 (file)
@@ -96,7 +96,7 @@ add_peer ()
   memset (&pkey, 32, sizeof (pkey));
   GNUNET_CRYPTO_hash (&pkey, sizeof (pkey), &pid.hashPubKey);
   h2 = GNUNET_HELLO_create (&pkey, &address_generator, &agc);
-  GNUNET_PEERINFO_add_peer (h, h2);
+  GNUNET_PEERINFO_add_peer (h, h2, NULL, NULL);
   GNUNET_free (h2);
 
 }