diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-14 16:30:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-14 16:30:25 +0000 |
commit | 4dc6c16a353cce59fac581fcbab5d5f22ee5ad6b (patch) | |
tree | 0cc16382742b1c471077fa3114862ec73b2b43a8 | |
parent | 75c4674d9a86cc3618d903ae56476cdbb6b24a94 (diff) | |
download | gnunet-4dc6c16a353cce59fac581fcbab5d5f22ee5ad6b.tar.gz gnunet-4dc6c16a353cce59fac581fcbab5d5f22ee5ad6b.zip |
fixing 1891
-rw-r--r-- | src/transport/gnunet-service-transport.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 7fd4760ef..0b21812de 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -333,6 +333,7 @@ static void | |||
333 | plugin_env_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, | 333 | plugin_env_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, |
334 | struct Session *session) | 334 | struct Session *session) |
335 | { | 335 | { |
336 | const char *transport_name = cls; | ||
336 | struct GNUNET_HELLO_Address address; | 337 | struct GNUNET_HELLO_Address address; |
337 | 338 | ||
338 | #if DEBUG_TRANSPORT | 339 | #if DEBUG_TRANSPORT |
@@ -347,9 +348,9 @@ plugin_env_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
347 | address.peer = *peer; | 348 | address.peer = *peer; |
348 | address.address = NULL; | 349 | address.address = NULL; |
349 | address.address_length = 0; | 350 | address.address_length = 0; |
350 | address.transport_name = cls; | 351 | address.transport_name = transport_name; |
351 | GNUNET_ATS_address_destroyed (GST_ats, &address, session); | ||
352 | GST_neighbours_session_terminated (peer, session); | 352 | GST_neighbours_session_terminated (peer, session); |
353 | GNUNET_ATS_address_destroyed (GST_ats, &address, session); | ||
353 | } | 354 | } |
354 | 355 | ||
355 | 356 | ||