diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/mesh_api.c | 5 | ||||
-rw-r--r-- | src/vpn/gnunet-daemon-exit.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 12759f2a7..68b2e587d 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c | |||
@@ -313,6 +313,9 @@ receive_hello (void *cls, | |||
313 | element = element->next; | 313 | element = element->next; |
314 | } | 314 | } |
315 | 315 | ||
316 | /* TODO: handle self */ | ||
317 | /* TODO: add, not replace! */ | ||
318 | /* TODO: if this changes anything: send new hello */ | ||
316 | element->num_types = *num; | 319 | element->num_types = *num; |
317 | element->types = GNUNET_malloc (*num * sizeof (GNUNET_MESH_ApplicationType)); | 320 | element->types = GNUNET_malloc (*num * sizeof (GNUNET_MESH_ApplicationType)); |
318 | 321 | ||
@@ -657,6 +660,8 @@ GNUNET_MESH_connect (const struct | |||
657 | memcpy (ret->handlers, handlers, | 660 | memcpy (ret->handlers, handlers, |
658 | len * sizeof (struct GNUNET_MESH_MessageHandler)); | 661 | len * sizeof (struct GNUNET_MESH_MessageHandler)); |
659 | 662 | ||
663 | /* TODO: build hello */ | ||
664 | |||
660 | const static struct GNUNET_CORE_MessageHandler core_handlers[] = { | 665 | const static struct GNUNET_CORE_MessageHandler core_handlers[] = { |
661 | {&core_receive, GNUNET_MESSAGE_TYPE_MESH, 0}, | 666 | {&core_receive, GNUNET_MESSAGE_TYPE_MESH, 0}, |
662 | {&receive_hello, GNUNET_MESSAGE_TYPE_MESH_HELLO, 0}, | 667 | {&receive_hello, GNUNET_MESSAGE_TYPE_MESH_HELLO, 0}, |
diff --git a/src/vpn/gnunet-daemon-exit.c b/src/vpn/gnunet-daemon-exit.c index ee1080fca..c7d851cb3 100644 --- a/src/vpn/gnunet-daemon-exit.c +++ b/src/vpn/gnunet-daemon-exit.c | |||
@@ -462,7 +462,7 @@ read_service_conf (void *cls, const char *section, const char *option, | |||
462 | } | 462 | } |
463 | else | 463 | else |
464 | { | 464 | { |
465 | // Lookup, yadayadayada | 465 | // TODO Lookup, yadayadayada |
466 | GNUNET_assert (0); | 466 | GNUNET_assert (0); |
467 | } | 467 | } |
468 | serv->remote_port = atoi (hostport); | 468 | serv->remote_port = atoi (hostport); |