aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_quota_compliance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r--src/transport/test_quota_compliance.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index f4bc6fc54..bb33be1e8 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -277,7 +277,7 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
277 if (ntohl (hdr->num) % 5000 == 0) 277 if (ntohl (hdr->num) % 5000 == 0)
278 { 278 {
279 struct PeerContext *p = cls; 279 struct PeerContext *p = cls;
280 char *ps = strdup (GNUNET_i2s (&p->id)); 280 char *ps = GNUNET_strdup (GNUNET_i2s (&p->id));
281 281
282 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 282 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
283 "Peer %u (`%s') got message %u of size %u from peer (`%s')\n", 283 "Peer %u (`%s') got message %u of size %u from peer (`%s')\n",
@@ -331,7 +331,7 @@ notify_ready (void *cls, size_t size, void *buf)
331 if (n % 5000 == 0) 331 if (n % 5000 == 0)
332 { 332 {
333 333
334 char *receiver_s = strdup (GNUNET_i2s (&receiver->id)); 334 char *receiver_s = GNUNET_strdup (GNUNET_i2s (&receiver->id));
335 335
336 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 336 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
337 "Sending message of size %u from peer %u (`%4s') -> peer %u (`%s') !\n", 337 "Sending message of size %u from peer %u (`%4s') -> peer %u (`%s') !\n",
@@ -429,7 +429,7 @@ measure (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
429static void 429static void
430testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls) 430testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls)
431{ 431{
432 char *p1_c = strdup (GNUNET_i2s (&p1->id)); 432 char *p1_c = GNUNET_strdup (GNUNET_i2s (&p1->id));
433 433
434 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %u (%s) <-> %u (%s)\n", 434 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers connected: %u (%s) <-> %u (%s)\n",
435 p1->no, p1_c, p2->no, GNUNET_i2s (&p2->id)); 435 p1->no, p1_c, p2->no, GNUNET_i2s (&p2->id));
@@ -462,7 +462,7 @@ start_cb (struct PeerContext *p, void *cls)
462 sender = p2; 462 sender = p2;
463 receiver = p1; 463 receiver = p1;
464 464
465 char *sender_c = strdup (GNUNET_i2s (&sender->id)); 465 char *sender_c = GNUNET_strdup (GNUNET_i2s (&sender->id));
466 466
467 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 467 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
468 "Test tries to send from %u (%s) -> peer %u (%s)\n", sender->no, 468 "Test tries to send from %u (%s) -> peer %u (%s)\n", sender->no,