diff options
-rw-r--r-- | src/transport/transport_api2_communication.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/transport/transport_api2_communication.c b/src/transport/transport_api2_communication.c index ee1c788e5..33092fb2a 100644 --- a/src/transport/transport_api2_communication.c +++ b/src/transport/transport_api2_communication.c | |||
@@ -22,8 +22,6 @@ | |||
22 | * @file transport/transport_api2_communication.c | 22 | * @file transport/transport_api2_communication.c |
23 | * @brief implementation of the gnunet_transport_communication_service.h API | 23 | * @brief implementation of the gnunet_transport_communication_service.h API |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | * | ||
26 | * FIXME: handling of messages for "notify_cb" not implemented! | ||
27 | */ | 25 | */ |
28 | #include "platform.h" | 26 | #include "platform.h" |
29 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
@@ -757,7 +755,13 @@ handle_backchannel_incoming (void *cls, | |||
757 | { | 755 | { |
758 | struct GNUNET_TRANSPORT_CommunicatorHandle *ch = cls; | 756 | struct GNUNET_TRANSPORT_CommunicatorHandle *ch = cls; |
759 | 757 | ||
760 | // FIXME: handle bi! | 758 | if (NULL != ch->notify_cb) |
759 | ch->notify_cb (ch->notify_cb_cls, | ||
760 | &bi->pid, | ||
761 | (const struct GNUNET_MessageHeader *) &bi[1]); | ||
762 | else | ||
763 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
764 | _("Dropped backchanel message: handler not provided by communicator\n")); | ||
761 | } | 765 | } |
762 | 766 | ||
763 | 767 | ||