diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-06 14:44:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-06 14:44:08 +0000 |
commit | e8cf81fdb3fdaef59b49da8f6e952a3225ab326e (patch) | |
tree | 4e5f75d44a9121b32895fdfc5a4177052a7d923d /src/dht/gnunet-service-xdht_neighbours.c | |
parent | ae8cb91d9961899075a892a3110204bc139c2eb6 (diff) | |
download | gnunet-e8cf81fdb3fdaef59b49da8f6e952a3225ab326e.tar.gz gnunet-e8cf81fdb3fdaef59b49da8f6e952a3225ab326e.zip |
fixing compiler warnings
Diffstat (limited to 'src/dht/gnunet-service-xdht_neighbours.c')
-rw-r--r-- | src/dht/gnunet-service-xdht_neighbours.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/dht/gnunet-service-xdht_neighbours.c b/src/dht/gnunet-service-xdht_neighbours.c index c6de94a5a..6f3137f8a 100644 --- a/src/dht/gnunet-service-xdht_neighbours.c +++ b/src/dht/gnunet-service-xdht_neighbours.c | |||
@@ -3309,8 +3309,10 @@ send_verify_successor_message (void *cls) | |||
3309 | trail_id = trail->trail_id; | 3309 | trail_id = trail->trail_id; |
3310 | if (NULL == GDS_ROUTING_get_next_hop(trail_id,GDS_ROUTING_SRC_TO_DEST)) | 3310 | if (NULL == GDS_ROUTING_get_next_hop(trail_id,GDS_ROUTING_SRC_TO_DEST)) |
3311 | { | 3311 | { |
3312 | DEBUG(" NO ENTRY FOUND IN %s ROUTING TABLE for trail id %s, line", | 3312 | DEBUG(" NO ENTRY FOUND IN %s ROUTING TABLE for trail id %s, line %u", |
3313 | GNUNET_i2s(&my_identity), GNUNET_h2s(&trail->trail_id), __LINE__); | 3313 | GNUNET_i2s (&my_identity), |
3314 | GNUNET_h2s (&trail->trail_id), | ||
3315 | __LINE__); | ||
3314 | GNUNET_break(0); | 3316 | GNUNET_break(0); |
3315 | return; | 3317 | return; |
3316 | } | 3318 | } |
@@ -5352,8 +5354,10 @@ handle_dht_p2p_verify_successor_result(void *cls, | |||
5352 | { | 5354 | { |
5353 | /* Here it may happen that source peer has found a new successor, and removed | 5355 | /* Here it may happen that source peer has found a new successor, and removed |
5354 | the trail, Hence no entry found in the routing table. Fail silently.*/ | 5356 | the trail, Hence no entry found in the routing table. Fail silently.*/ |
5355 | DEBUG(" NO ENTRY FOUND IN %s ROUTING TABLE for trail id %s, line", | 5357 | DEBUG (" NO ENTRY FOUND IN %s ROUTING TABLE for trail id %s, line %u", |
5356 | GNUNET_i2s(&my_identity), GNUNET_h2s(&trail_id), __LINE__); | 5358 | GNUNET_i2s (&my_identity), |
5359 | GNUNET_h2s (&trail_id), | ||
5360 | __LINE__); | ||
5357 | GNUNET_break_op(0); | 5361 | GNUNET_break_op(0); |
5358 | return GNUNET_OK; | 5362 | return GNUNET_OK; |
5359 | } | 5363 | } |
@@ -5773,8 +5777,10 @@ handle_dht_p2p_trail_teardown (void *cls, const struct GNUNET_PeerIdentity *peer | |||
5773 | next_hop = GDS_ROUTING_get_next_hop (trail_id, trail_direction); | 5777 | next_hop = GDS_ROUTING_get_next_hop (trail_id, trail_direction); |
5774 | if (NULL == next_hop) | 5778 | if (NULL == next_hop) |
5775 | { | 5779 | { |
5776 | DEBUG(" NO ENTRY FOUND IN %s ROUTING TABLE for trail id %s, line", | 5780 | DEBUG(" NO ENTRY FOUND IN %s ROUTING TABLE for trail id %s, line %u", |
5777 | GNUNET_i2s(&my_identity), GNUNET_h2s(&trail_id), __LINE__); | 5781 | GNUNET_i2s (&my_identity), |
5782 | GNUNET_h2s(&trail_id), | ||
5783 | __LINE__); | ||
5778 | GNUNET_break (0); | 5784 | GNUNET_break (0); |
5779 | return GNUNET_SYSERR; | 5785 | return GNUNET_SYSERR; |
5780 | } | 5786 | } |