diff --git a/libretroshare/src/pqi/pqiqos.h b/libretroshare/src/pqi/pqiqos.h index 84db4d0f4..192fb8c7e 100644 --- a/libretroshare/src/pqi/pqiqos.h +++ b/libretroshare/src/pqi/pqiqos.h @@ -52,11 +52,7 @@ // | RsGenericTunnelsItem | X | States for all turtle FT except file requests | // | | | | // |Turtle items (Forwarded) | | | -// | RsTurtleFileReqItem | X | | -// | RsTurtleSearchRequest | X | | // | RsTurtleFileDataItem | X | | -// | RsTurtleSearchResult | X | | -// | RsGenericTunnelsItem | X | States for all turtle FT except file requests | // | | | | // |Direct file transfer | | | // | RsFileRequest | X | | diff --git a/libretroshare/src/pqi/pqissl.cc b/libretroshare/src/pqi/pqissl.cc index 2ae68aecd..915817877 100644 --- a/libretroshare/src/pqi/pqissl.cc +++ b/libretroshare/src/pqi/pqissl.cc @@ -1656,12 +1656,14 @@ int pqissl::isactive() bool pqissl::moretoread() { +#ifdef PQISSL_DEBUG { std::ostringstream out; out << "pqissl::moretoread()"; out << " polling socket (" << sockfd << ")"; rslog(RSL_DEBUG_ALL, pqisslzone, out.str()); } +#endif fd_set ReadFDs, WriteFDs, ExceptFDs; FD_ZERO(&ReadFDs); @@ -1725,8 +1727,10 @@ bool pqissl::moretoread() bool pqissl::cansend() { +#ifdef PQISSL_DEBUG rslog(RSL_DEBUG_ALL, pqisslzone, "pqissl::cansend() polling socket!"); +#endif // Interestingly - This code might be portable....