diff options
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 70144e8c1..b7848be40 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -1763,7 +1763,9 @@ handle_pong (void *cls, const struct GNUNET_MessageHeader *message, | |||
1763 | const char *sender_address, | 1763 | const char *sender_address, |
1764 | size_t sender_address_len) | 1764 | size_t sender_address_len) |
1765 | { | 1765 | { |
1766 | #if DEBUG_TRANSPORT | 1766 | #if DEBUG_TRANSPORT > 1 |
1767 | /* we get tons of these that just get discarded, only log | ||
1768 | if we are quite verbose */ | ||
1767 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1769 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1768 | "Receiving `%s' message from `%4s'.\n", "PONG", | 1770 | "Receiving `%s' message from `%4s'.\n", "PONG", |
1769 | GNUNET_i2s (peer)); | 1771 | GNUNET_i2s (peer)); |
@@ -1780,7 +1782,7 @@ handle_pong (void *cls, const struct GNUNET_MessageHeader *message, | |||
1780 | per PING, and all but the first PONG will end up | 1782 | per PING, and all but the first PONG will end up |
1781 | here. So really we should not print anything here | 1783 | here. So really we should not print anything here |
1782 | unless we want to be very, very verbose... */ | 1784 | unless we want to be very, very verbose... */ |
1783 | #if DEBUG_TRANSPORT > 1 | 1785 | #if DEBUG_TRANSPORT > 2 |
1784 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1786 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1785 | "Received `%s' message from `%4s' but have no record of a matching `%s' message. Ignoring.\n", | 1787 | "Received `%s' message from `%4s' but have no record of a matching `%s' message. Ignoring.\n", |
1786 | "PONG", | 1788 | "PONG", |