diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-28 16:04:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-28 16:04:01 +0000 |
commit | 55e7afdb76d517f2977adc2ff7d5864d08a69249 (patch) | |
tree | 7ca7ded6a9a7a92e3421f4180ce216faed3a93e8 /src | |
parent | 8cd6b76a214ff9b4b36f76d9374074ab4520b9f4 (diff) | |
download | gnunet-55e7afdb76d517f2977adc2ff7d5864d08a69249.tar.gz gnunet-55e7afdb76d517f2977adc2ff7d5864d08a69249.zip |
-shorten stats labels
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 89a9a8b16..561a62396 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -1514,7 +1514,7 @@ GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour, | |||
1514 | if (NULL == (n = lookup_neighbour (neighbour))) | 1514 | if (NULL == (n = lookup_neighbour (neighbour))) |
1515 | { | 1515 | { |
1516 | GNUNET_STATISTICS_update (GST_stats, | 1516 | GNUNET_STATISTICS_update (GST_stats, |
1517 | gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (not connected)"), | 1517 | gettext_noop ("# KEEPALIVE_RESPONSEs discarded (not connected)"), |
1518 | 1, | 1518 | 1, |
1519 | GNUNET_NO); | 1519 | GNUNET_NO); |
1520 | return; | 1520 | return; |
@@ -1523,7 +1523,7 @@ GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour, | |||
1523 | (GNUNET_YES != n->expect_latency_response) ) | 1523 | (GNUNET_YES != n->expect_latency_response) ) |
1524 | { | 1524 | { |
1525 | GNUNET_STATISTICS_update (GST_stats, | 1525 | GNUNET_STATISTICS_update (GST_stats, |
1526 | gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (not expected)"), | 1526 | gettext_noop ("# KEEPALIVE_RESPONSEs discarded (not expected)"), |
1527 | 1, | 1527 | 1, |
1528 | GNUNET_NO); | 1528 | GNUNET_NO); |
1529 | return; | 1529 | return; |
@@ -1531,7 +1531,7 @@ GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour, | |||
1531 | if (NULL == n->primary_address.address) | 1531 | if (NULL == n->primary_address.address) |
1532 | { | 1532 | { |
1533 | GNUNET_STATISTICS_update (GST_stats, | 1533 | GNUNET_STATISTICS_update (GST_stats, |
1534 | gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (address changed)"), | 1534 | gettext_noop ("# KEEPALIVE_RESPONSEs discarded (address changed)"), |
1535 | 1, | 1535 | 1, |
1536 | GNUNET_NO); | 1536 | GNUNET_NO); |
1537 | return; | 1537 | return; |
@@ -1540,18 +1540,18 @@ GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour, | |||
1540 | { | 1540 | { |
1541 | if (0 == n->primary_address.keep_alive_nonce) | 1541 | if (0 == n->primary_address.keep_alive_nonce) |
1542 | GNUNET_STATISTICS_update (GST_stats, | 1542 | GNUNET_STATISTICS_update (GST_stats, |
1543 | gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (no nonce)"), | 1543 | gettext_noop ("# KEEPALIVE_RESPONSEs discarded (no nonce)"), |
1544 | 1, | 1544 | 1, |
1545 | GNUNET_NO); | 1545 | GNUNET_NO); |
1546 | else | 1546 | else |
1547 | GNUNET_STATISTICS_update (GST_stats, | 1547 | GNUNET_STATISTICS_update (GST_stats, |
1548 | gettext_noop ("# KEEPALIVE_RESPONSE messages discarded (wrong nonce)"), | 1548 | gettext_noop ("# KEEPALIVE_RESPONSEs discarded (bad nonce)"), |
1549 | 1, | 1549 | 1, |
1550 | GNUNET_NO); | 1550 | GNUNET_NO); |
1551 | return; | 1551 | return; |
1552 | } | 1552 | } |
1553 | GNUNET_STATISTICS_update (GST_stats, | 1553 | GNUNET_STATISTICS_update (GST_stats, |
1554 | gettext_noop ("# KEEPALIVE_RESPONSE messages received in good order"), | 1554 | gettext_noop ("# KEEPALIVE_RESPONSEs received (OK)"), |
1555 | 1, | 1555 | 1, |
1556 | GNUNET_NO); | 1556 | GNUNET_NO); |
1557 | 1557 | ||