aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api.c
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/test_core_api.c
parent04518c0f2565baa715018b9546afa1858369d20e (diff)
downloadgnunet-fe27f72b593c3d82752935bf92df10d9ed9c1e2a.tar.gz
gnunet-fe27f72b593c3d82752935bf92df10d9ed9c1e2a.zip
offer hello api change
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r--src/core/test_core_api.c8
1 files changed, 4 insertions, 4 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