aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-02-23 11:00:08 +0000
committerNathan S. Evans <evans@in.tum.de>2011-02-23 11:00:08 +0000
commitfe27f72b593c3d82752935bf92df10d9ed9c1e2a (patch)
tree9aef5f784913da26f97f57f882ffe197db5b28c1 /src/core
parent04518c0f2565baa715018b9546afa1858369d20e (diff)
downloadgnunet-fe27f72b593c3d82752935bf92df10d9ed9c1e2a.tar.gz
gnunet-fe27f72b593c3d82752935bf92df10d9ed9c1e2a.zip
offer hello api change
Diffstat (limited to 'src/core')
-rw-r--r--src/core/test_core_api.c8
-rw-r--r--src/core/test_core_api_reliability.c8
-rw-r--r--src/core/test_core_quota_compliance.c8
3 files changed, 12 insertions, 12 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c
index cec66f020..cdc5517c3 100644
--- a/src/core/test_core_api.c
+++ b/src/core/test_core_api.c
@@ -275,14 +275,14 @@ process_hello (void *cls,
275 p->hello = GNUNET_malloc (ntohs (message->size)); 275 p->hello = GNUNET_malloc (ntohs (message->size));
276 memcpy (p->hello, message, ntohs (message->size)); 276 memcpy (p->hello, message, ntohs (message->size));
277 if ((p == &p1) && (p2.th != NULL)) 277 if ((p == &p1) && (p2.th != NULL))
278 GNUNET_TRANSPORT_offer_hello (p2.th, message); 278 GNUNET_TRANSPORT_offer_hello (p2.th, message, NULL, NULL);
279 if ((p == &p2) && (p1.th != NULL)) 279 if ((p == &p2) && (p1.th != NULL))
280 GNUNET_TRANSPORT_offer_hello (p1.th, message); 280 GNUNET_TRANSPORT_offer_hello (p1.th, message, NULL, NULL);
281 281
282 if ((p == &p1) && (p2.hello != NULL)) 282 if ((p == &p1) && (p2.hello != NULL))
283 GNUNET_TRANSPORT_offer_hello (p1.th, p2.hello); 283 GNUNET_TRANSPORT_offer_hello (p1.th, p2.hello, NULL, NULL);
284 if ((p == &p2) && (p1.hello != NULL)) 284 if ((p == &p2) && (p1.hello != NULL))
285 GNUNET_TRANSPORT_offer_hello (p2.th, p1.hello); 285 GNUNET_TRANSPORT_offer_hello (p2.th, p1.hello, NULL, NULL);
286} 286}
287 287
288 288
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index c1315aec6..cfb299f83 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -433,14 +433,14 @@ process_hello (void *cls,
433 p->hello = GNUNET_malloc (ntohs (message->size)); 433 p->hello = GNUNET_malloc (ntohs (message->size));
434 memcpy (p->hello, message, ntohs (message->size)); 434 memcpy (p->hello, message, ntohs (message->size));
435 if ((p == &p1) && (p2.th != NULL)) 435 if ((p == &p1) && (p2.th != NULL))
436 GNUNET_TRANSPORT_offer_hello (p2.th, message); 436 GNUNET_TRANSPORT_offer_hello (p2.th, message, NULL, NULL);
437 if ((p == &p2) && (p1.th != NULL)) 437 if ((p == &p2) && (p1.th != NULL))
438 GNUNET_TRANSPORT_offer_hello (p1.th, message); 438 GNUNET_TRANSPORT_offer_hello (p1.th, message, NULL, NULL);
439 439
440 if ((p == &p1) && (p2.hello != NULL)) 440 if ((p == &p1) && (p2.hello != NULL))
441 GNUNET_TRANSPORT_offer_hello (p1.th, p2.hello); 441 GNUNET_TRANSPORT_offer_hello (p1.th, p2.hello, NULL, NULL);
442 if ((p == &p2) && (p1.hello != NULL)) 442 if ((p == &p2) && (p1.hello != NULL))
443 GNUNET_TRANSPORT_offer_hello (p2.th, p1.hello); 443 GNUNET_TRANSPORT_offer_hello (p2.th, p1.hello, NULL, NULL);
444} 444}
445 445
446 446
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c
index d951113fc..6a67b8606 100644
--- a/src/core/test_core_quota_compliance.c
+++ b/src/core/test_core_quota_compliance.c
@@ -583,14 +583,14 @@ process_hello (void *cls,
583 p->hello = GNUNET_malloc (ntohs (message->size)); 583 p->hello = GNUNET_malloc (ntohs (message->size));
584 memcpy (p->hello, message, ntohs (message->size)); 584 memcpy (p->hello, message, ntohs (message->size));
585 if ((p == &p1) && (p2.th != NULL)) 585 if ((p == &p1) && (p2.th != NULL))
586 GNUNET_TRANSPORT_offer_hello (p2.th, message); 586 GNUNET_TRANSPORT_offer_hello (p2.th, message, NULL, NULL);
587 if ((p == &p2) && (p1.th != NULL)) 587 if ((p == &p2) && (p1.th != NULL))
588 GNUNET_TRANSPORT_offer_hello (p1.th, message); 588 GNUNET_TRANSPORT_offer_hello (p1.th, message, NULL, NULL);
589 589
590 if ((p == &p1) && (p2.hello != NULL)) 590 if ((p == &p1) && (p2.hello != NULL))
591 GNUNET_TRANSPORT_offer_hello (p1.th, p2.hello); 591 GNUNET_TRANSPORT_offer_hello (p1.th, p2.hello, NULL, NULL);
592 if ((p == &p2) && (p1.hello != NULL)) 592 if ((p == &p2) && (p1.hello != NULL))
593 GNUNET_TRANSPORT_offer_hello (p2.th, p1.hello); 593 GNUNET_TRANSPORT_offer_hello (p2.th, p1.hello, NULL, NULL);
594} 594}
595 595
596 596