diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-23 19:11:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-23 19:11:06 +0000 |
commit | b3db692279aec4f8e016ee3ebd83a18ce182bd35 (patch) | |
tree | 6bfee826be0c1a65e7d1a8cf94b4e1bcfc1e6545 /src/transport | |
parent | cb6408fefbf6b0a834ca5ae3be7458d9bf82e8cc (diff) |
-fix message type
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-service-transport_clients.c | 5 | ||||
-rw-r--r-- | src/transport/transport_api_monitor_plugins.c | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c index b644cec6ea..b50aab6afa 100644 --- a/src/transport/gnunet-service-transport_clients.c +++ b/src/transport/gnunet-service-transport_clients.c @@ -1486,7 +1486,7 @@ GST_clients_start (struct GNUNET_SERVER_Handle *server) {&GST_manipulation_set_metric, NULL, GNUNET_MESSAGE_TYPE_TRANSPORT_TRAFFIC_METRIC, 0}, {&clients_handle_monitor_plugins, NULL, - GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PLUGIN_EVENT, + GNUNET_MESSAGE_TYPE_TRANSPORT_MONITOR_PLUGIN_START, sizeof (struct GNUNET_MessageHeader) }, {NULL, NULL, 0, 0} }; @@ -1494,7 +1494,8 @@ GST_clients_start (struct GNUNET_SERVER_Handle *server) val_nc = GNUNET_SERVER_notification_context_create (server, 0); plugin_nc = GNUNET_SERVER_notification_context_create (server, 0); GNUNET_SERVER_add_handlers (server, handlers); - GNUNET_SERVER_disconnect_notify (server, &client_disconnect_notification, + GNUNET_SERVER_disconnect_notify (server, + &client_disconnect_notification, NULL); } diff --git a/src/transport/transport_api_monitor_plugins.c b/src/transport/transport_api_monitor_plugins.c index 04e5b268c0..818530c844 100644 --- a/src/transport/transport_api_monitor_plugins.c +++ b/src/transport/transport_api_monitor_plugins.c @@ -21,6 +21,7 @@ /** * @file transport/transport_api_monitor_plugins.c * @brief montoring api for transport plugin session status + * @author Christian Grothoff */ #include "platform.h" #include "gnunet_util_lib.h" |