From d659f768b5a9c42d39e8315bc57f57a8e16c42bc Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 31 Oct 2021 12:01:07 +0100 Subject: [PATCH] fixed debug output in pqistreamer --- libretroshare/src/pqi/pqistreamer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/pqi/pqistreamer.cc b/libretroshare/src/pqi/pqistreamer.cc index db38bfde2..96b91dae6 100644 --- a/libretroshare/src/pqi/pqistreamer.cc +++ b/libretroshare/src/pqi/pqistreamer.cc @@ -683,7 +683,7 @@ int pqistreamer::handleoutgoing_locked() outSentBytes_locked(mPkt_wpending_size); // this is the only time where we know exactly what was sent. #ifdef DEBUG_TRANSFERS - std::cerr << "pqistreamer::handleoutgoing_locked() Sent Packet len: " << mPkt_wpending_size << " @ " << RsUtil::AccurateTimeString(); + std::cerr << "pqistreamer::handleoutgoing_locked() Sent Packet len: " << mPkt_wpending_size << " @ " << getCurrentTS(); std::cerr << std::endl; #endif @@ -693,7 +693,7 @@ int pqistreamer::handleoutgoing_locked() mPkt_wpending = NULL; mPkt_wpending_size = 0 ; - sent = true; + sent = true; } } #ifdef DEBUG_PQISTREAMER