diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-02 20:38:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-02 20:38:01 +0000 |
commit | fb1487e62d1c659c45e2997f80b76f7c7b8c824c (patch) | |
tree | eaa6811d751dc4060f04c7284e0fa47d4b8975fc /src/transport/plugin_transport_udp.c | |
parent | c4bcbfbe216ca485637452f9060f439098e67ab9 (diff) | |
download | gnunet-fb1487e62d1c659c45e2997f80b76f7c7b8c824c.tar.gz gnunet-fb1487e62d1c659c45e2997f80b76f7c7b8c824c.zip |
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index a84f3e749..c5542d200 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -2397,6 +2397,9 @@ udp_plugin_create_session (void *cls, | |||
2397 | "# UDP sessions active", | 2397 | "# UDP sessions active", |
2398 | GNUNET_CONTAINER_multipeermap_size (plugin->sessions), | 2398 | GNUNET_CONTAINER_multipeermap_size (plugin->sessions), |
2399 | GNUNET_NO); | 2399 | GNUNET_NO); |
2400 | notify_session_monitor (plugin, | ||
2401 | s, | ||
2402 | GNUNET_TRANSPORT_SS_INIT); | ||
2400 | return s; | 2403 | return s; |
2401 | } | 2404 | } |
2402 | 2405 | ||
@@ -2522,10 +2525,7 @@ process_udp_message (struct Plugin *plugin, | |||
2522 | address, | 2525 | address, |
2523 | s, | 2526 | s, |
2524 | s->scope); | 2527 | s->scope); |
2525 | notify_session_monitor (s->plugin, | 2528 | notify_session_monitor (plugin, |
2526 | s, | ||
2527 | GNUNET_TRANSPORT_SS_INIT); | ||
2528 | notify_session_monitor (s->plugin, | ||
2529 | s, | 2529 | s, |
2530 | GNUNET_TRANSPORT_SS_UP); | 2530 | GNUNET_TRANSPORT_SS_UP); |
2531 | } | 2531 | } |