diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-25 16:16:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-25 16:16:27 +0000 |
commit | 436957e7d21134aa4f023efb64a9e61e4c7bbd26 (patch) | |
tree | 2d042722e3e694945540a0e297fa837abd996fb0 /src/transport/gnunet-service-transport_neighbours.c | |
parent | bee608f91b88ced59c5151750e869279d560a218 (diff) | |
download | gnunet-436957e7d21134aa4f023efb64a9e61e4c7bbd26.tar.gz gnunet-436957e7d21134aa4f023efb64a9e61e4c7bbd26.zip |
-fixing 1963 by changing warning to stats call
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 61f4abc09..95efe44a1 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -2284,8 +2284,10 @@ GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message, | |||
2284 | n = lookup_neighbour (peer); | 2284 | n = lookup_neighbour (peer); |
2285 | if (NULL == n) | 2285 | if (NULL == n) |
2286 | { | 2286 | { |
2287 | /* we did not send 'CONNECT' (how could we? no record for this peer!) */ | 2287 | /* we did not send 'CONNECT' -- at least not recently */ |
2288 | GNUNET_break_op (0); | 2288 | GNUNET_STATISTICS_update (GST_stats, |
2289 | gettext_noop ("# unexpected CONNECT_ACK messages (no peer)"), 1, | ||
2290 | GNUNET_NO); | ||
2289 | return; | 2291 | return; |
2290 | } | 2292 | } |
2291 | 2293 | ||