From e6febe02974ef3608ced54c02fb8a7299adef0db Mon Sep 17 00:00:00 2001 From: sehraf Date: Fri, 12 Oct 2018 18:20:55 +0200 Subject: [PATCH] remove debug output --- libretroshare/src/gxs/rsgxsnetservice.cc | 2 +- libretroshare/src/rsitems/rsgxsiditems.cc | 2 +- libretroshare/src/serialiser/rstlvbinary.cc | 2 +- libretroshare/src/serialiser/rstlvgenericparam.cc | 2 +- libretroshare/src/serialiser/rstlvidset.cc | 2 +- libretroshare/src/serialiser/rstlvitem.cc | 2 +- libretroshare/src/serialiser/rstlvkeys.cc | 2 +- libretroshare/src/serialiser/rstlvkeyvalue.cc | 3 +-- libretroshare/src/serialiser/rstlvlist.h | 2 +- libretroshare/src/serialiser/rstlvstring.cc | 2 +- libretroshare/src/services/p3discovery2.cc | 1 - 11 files changed, 10 insertions(+), 12 deletions(-) diff --git a/libretroshare/src/gxs/rsgxsnetservice.cc b/libretroshare/src/gxs/rsgxsnetservice.cc index 2aef9a5e0..02bdb1b9b 100644 --- a/libretroshare/src/gxs/rsgxsnetservice.cc +++ b/libretroshare/src/gxs/rsgxsnetservice.cc @@ -282,7 +282,7 @@ //#define NXS_NET_DEBUG_5 1 //#define NXS_NET_DEBUG_6 1 //#define NXS_NET_DEBUG_7 1 -#define NXS_NET_DEBUG_8 1 +//#define NXS_NET_DEBUG_8 1 //#define NXS_FRAG diff --git a/libretroshare/src/rsitems/rsgxsiditems.cc b/libretroshare/src/rsitems/rsgxsiditems.cc index ee94d3682..0c37c110e 100644 --- a/libretroshare/src/rsitems/rsgxsiditems.cc +++ b/libretroshare/src/rsitems/rsgxsiditems.cc @@ -29,7 +29,7 @@ #include "serialiser/rstypeserializer.h" -#define GXSID_DEBUG 1 +// #define GXSID_DEBUG 1 RsItem *RsGxsIdSerialiser::create_item(uint16_t service_id,uint8_t item_subtype) const { diff --git a/libretroshare/src/serialiser/rstlvbinary.cc b/libretroshare/src/serialiser/rstlvbinary.cc index daa35c56d..7eabf74d9 100644 --- a/libretroshare/src/serialiser/rstlvbinary.cc +++ b/libretroshare/src/serialiser/rstlvbinary.cc @@ -27,7 +27,7 @@ #include #include -#define TLV_DEBUG 1 +// #define TLV_DEBUG 1 /*!********************************** RsTlvFileBinaryData **********************************/ diff --git a/libretroshare/src/serialiser/rstlvgenericparam.cc b/libretroshare/src/serialiser/rstlvgenericparam.cc index 941fd6883..ef3610813 100644 --- a/libretroshare/src/serialiser/rstlvgenericparam.cc +++ b/libretroshare/src/serialiser/rstlvgenericparam.cc @@ -23,7 +23,7 @@ #include "serialiser/rstlvbase.h" #include -#define TLV_DEBUG 1 +// #define TLV_DEBUG 1 /* generic print */ template diff --git a/libretroshare/src/serialiser/rstlvidset.cc b/libretroshare/src/serialiser/rstlvidset.cc index c3d6ac3d7..ef60aca36 100644 --- a/libretroshare/src/serialiser/rstlvidset.cc +++ b/libretroshare/src/serialiser/rstlvidset.cc @@ -21,7 +21,7 @@ *******************************************************************************/ #include "rstlvidset.h" -#define TLV_DEBUG 1 +// #define TLV_DEBUG 1 /************************************* Service Id Set ************************************/ diff --git a/libretroshare/src/serialiser/rstlvitem.cc b/libretroshare/src/serialiser/rstlvitem.cc index 16ca002db..62b40e761 100644 --- a/libretroshare/src/serialiser/rstlvitem.cc +++ b/libretroshare/src/serialiser/rstlvitem.cc @@ -31,7 +31,7 @@ #include #endif -#define TLV_DEBUG 1 +// #define TLV_DEBUG 1 void RsTlvItem::TlvShallowClear() { diff --git a/libretroshare/src/serialiser/rstlvkeys.cc b/libretroshare/src/serialiser/rstlvkeys.cc index b13250479..e2be0b666 100644 --- a/libretroshare/src/serialiser/rstlvkeys.cc +++ b/libretroshare/src/serialiser/rstlvkeys.cc @@ -27,7 +27,7 @@ #include -#define TLV_DEBUG 1 +// #define TLV_DEBUG 1 // This should be removed eventually, but will break backward compatibility #define KEEP_OLD_SIGNATURE_SERIALISE_FORMAT diff --git a/libretroshare/src/serialiser/rstlvkeyvalue.cc b/libretroshare/src/serialiser/rstlvkeyvalue.cc index 2e1a9dd16..c666307ef 100644 --- a/libretroshare/src/serialiser/rstlvkeyvalue.cc +++ b/libretroshare/src/serialiser/rstlvkeyvalue.cc @@ -22,8 +22,7 @@ #include "rstlvkeyvalue.h" #include "rstlvbase.h" -#define TLV_DEBUG 1 - +// #define TLV_DEBUG 1 void RsTlvKeyValue::TlvClear() { diff --git a/libretroshare/src/serialiser/rstlvlist.h b/libretroshare/src/serialiser/rstlvlist.h index 099868179..90c430ede 100644 --- a/libretroshare/src/serialiser/rstlvlist.h +++ b/libretroshare/src/serialiser/rstlvlist.h @@ -26,7 +26,7 @@ #include -#define TLV_DEBUG_LIST 1 +// #define TLV_DEBUG_LIST 1 template class t_RsTlvList: public RsTlvItem { diff --git a/libretroshare/src/serialiser/rstlvstring.cc b/libretroshare/src/serialiser/rstlvstring.cc index 8f800b73c..d1e636d52 100644 --- a/libretroshare/src/serialiser/rstlvstring.cc +++ b/libretroshare/src/serialiser/rstlvstring.cc @@ -25,7 +25,7 @@ #include "util/rsprint.h" #include -#define TLV_DEBUG 1 +// #define TLV_DEBUG 1 /************************************* Peer Id Set ************************************/ diff --git a/libretroshare/src/services/p3discovery2.cc b/libretroshare/src/services/p3discovery2.cc index 7b07312ce..cde3d1f04 100644 --- a/libretroshare/src/services/p3discovery2.cc +++ b/libretroshare/src/services/p3discovery2.cc @@ -34,7 +34,6 @@ RsDisc *rsDisc = NULL; /**** * #define P3DISC_DEBUG 1 ****/ -#define P3DISC_DEBUG 1 static bool populateContactInfo( const peerState &detail, RsDiscContactItem *pkt,