From ebce79f9fa083122ffbff227829559c179ab0a78 Mon Sep 17 00:00:00 2001 From: drbob Date: Wed, 27 Feb 2013 21:18:36 +0000 Subject: [PATCH] More disabled debugging. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6158 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/util/rstickevent.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretroshare/src/util/rstickevent.cc b/libretroshare/src/util/rstickevent.cc index f91b2edf5..2ebbeec91 100644 --- a/libretroshare/src/util/rstickevent.cc +++ b/libretroshare/src/util/rstickevent.cc @@ -85,9 +85,11 @@ void RsTickEvent::tick_events() for(it = toProcess.begin(); it != toProcess.end(); it++) { +#ifdef DEBUG_EVENTS std::cerr << "RsTickEvent::tick_events() calling handle_event("; std::cerr << it->mEventType << ", " << it->mEventLabel << ")"; std::cerr << std::endl; +#endif // DEBUG_EVENTS handle_event(it->mEventType, it->mEventLabel); } } @@ -121,8 +123,10 @@ void RsTickEvent::schedule_in(uint32_t event_type, uint32_t in_secs) void RsTickEvent::schedule_in(uint32_t event_type, uint32_t in_secs, const std::string &elabel) { +#ifdef DEBUG_EVENTS std::cerr << "RsTickEvent::schedule_in(" << event_type << ", " << elabel << ") in " << in_secs << " secs"; std::cerr << std::endl; +#endif // DEBUG_EVENTS time_t event_time = time(NULL) + in_secs; RsTickEvent::schedule_event(event_type, event_time, elabel);