From 81e444a164ff0b6414286eccbde87fd8152b008f Mon Sep 17 00:00:00 2001 From: jolavillette Date: Sat, 6 Feb 2021 08:13:01 +0100 Subject: [PATCH] remove debug messages --- libretroshare/src/turtle/p3turtle.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretroshare/src/turtle/p3turtle.cc b/libretroshare/src/turtle/p3turtle.cc index 626c1570c..b8772c8da 100644 --- a/libretroshare/src/turtle/p3turtle.cc +++ b/libretroshare/src/turtle/p3turtle.cc @@ -1170,7 +1170,9 @@ void p3turtle::handleSearchResult(RsTurtleSearchResultItem *item) // Nevertheless results received for Search Requests older than SEARCH_REQUESTS_RESULT_TIME are considered obsolete and discarded if (time(NULL) > it->second.time_stamp + SEARCH_REQUESTS_RESULT_TIME) { +#ifdef P3TURTLE_DEBUG RsDbg() << "TURTLE p3turtle::handleSearchResult Search Request is known, but result arrives too late, dropping"; +#endif return; } @@ -1889,7 +1891,9 @@ void p3turtle::handleTunnelResult(RsTurtleTunnelOkItem *item) // Nevertheless results received for Tunnel Requests older than TUNNEL_REQUESTS_RESULT_TIME are considered obsolete and discarded if (time(NULL) > it->second.time_stamp + TUNNEL_REQUESTS_RESULT_TIME) { +#ifdef P3TURTLE_DEBUG RsDbg() << "TURTLE p3turtle::handleTunnelResult Tunnel Request is known, but result arrives too late, dropping"; +#endif return; }