remove debug messages

This commit is contained in:
jolavillette 2021-02-06 08:13:01 +01:00
parent 02232b389e
commit 81e444a164

View File

@ -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 // 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) 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"; RsDbg() << "TURTLE p3turtle::handleSearchResult Search Request is known, but result arrives too late, dropping";
#endif
return; 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 // 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) 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"; RsDbg() << "TURTLE p3turtle::handleTunnelResult Tunnel Request is known, but result arrives too late, dropping";
#endif
return; return;
} }