diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-05-13 08:52:06 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-05-13 08:52:06 +0000 |
commit | e1dd69dbee56a5b3b3b19fb6914fd4945f3416cb (patch) | |
tree | b6127a3ccdd9030f6b6e904648f2c2476ec596cf /src/transport | |
parent | d8c0c8836e4c00318f48ef71b0d1647851f51b9c (diff) | |
download | gnunet-e1dd69dbee56a5b3b3b19fb6914fd4945f3416cb.tar.gz gnunet-e1dd69dbee56a5b3b3b19fb6914fd4945f3416cb.zip |
fixed segfault
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 158499407..c8ae971e6 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -2528,7 +2528,7 @@ plugin_env_session_end (void *cls, | |||
2528 | #if DEBUG_TRANSPORT | 2528 | #if DEBUG_TRANSPORT |
2529 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2529 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2530 | "Session ended with peer `%4s', %s\n", | 2530 | "Session ended with peer `%4s', %s\n", |
2531 | GNUNET_i2s(&nl->id), | 2531 | GNUNET_i2s(peer), |
2532 | "plugin_env_session_end"); | 2532 | "plugin_env_session_end"); |
2533 | #endif | 2533 | #endif |
2534 | GNUNET_CONTAINER_multihashmap_iterate (validation_map, | 2534 | GNUNET_CONTAINER_multihashmap_iterate (validation_map, |
@@ -2540,7 +2540,7 @@ plugin_env_session_end (void *cls, | |||
2540 | #if DEBUG_TRANSPORT | 2540 | #if DEBUG_TRANSPORT |
2541 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2541 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2542 | "No neighbour record found for peer `%4s'\n", | 2542 | "No neighbour record found for peer `%4s'\n", |
2543 | GNUNET_i2s(&nl->id)); | 2543 | GNUNET_i2s(peer)); |
2544 | #endif | 2544 | #endif |
2545 | return; /* was never marked as connected */ | 2545 | return; /* was never marked as connected */ |
2546 | } | 2546 | } |
@@ -2556,7 +2556,7 @@ plugin_env_session_end (void *cls, | |||
2556 | #if DEBUG_TRANSPORT | 2556 | #if DEBUG_TRANSPORT |
2557 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2557 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2558 | "Plugin was associated with peer `%4s'\n", | 2558 | "Plugin was associated with peer `%4s'\n", |
2559 | GNUNET_i2s(&nl->id)); | 2559 | GNUNET_i2s(peer)); |
2560 | #endif | 2560 | #endif |
2561 | disconnect_neighbour (nl, GNUNET_YES); | 2561 | disconnect_neighbour (nl, GNUNET_YES); |
2562 | return; | 2562 | return; |
@@ -2574,7 +2574,7 @@ plugin_env_session_end (void *cls, | |||
2574 | #if DEBUG_TRANSPORT | 2574 | #if DEBUG_TRANSPORT |
2575 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2575 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2576 | "Session was never marked as ready for peer `%4s'\n", | 2576 | "Session was never marked as ready for peer `%4s'\n", |
2577 | GNUNET_i2s(&nl->id)); | 2577 | GNUNET_i2s(peer)); |
2578 | #endif | 2578 | #endif |
2579 | disconnect_neighbour (nl, GNUNET_YES); | 2579 | disconnect_neighbour (nl, GNUNET_YES); |
2580 | return; /* was never marked as connected */ | 2580 | return; /* was never marked as connected */ |
@@ -2623,7 +2623,7 @@ plugin_env_session_end (void *cls, | |||
2623 | #if DEBUG_TRANSPORT | 2623 | #if DEBUG_TRANSPORT |
2624 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2624 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2625 | "Disconnecting peer `%4s', %s\n", | 2625 | "Disconnecting peer `%4s', %s\n", |
2626 | GNUNET_i2s(&nl->id), | 2626 | GNUNET_i2s(peer), |
2627 | "plugin_env_session_end"); | 2627 | "plugin_env_session_end"); |
2628 | #endif | 2628 | #endif |
2629 | /* FIXME: This doesn't mean there are no addresses left for this PEER, | 2629 | /* FIXME: This doesn't mean there are no addresses left for this PEER, |