From 2248d2ad82c25e12a59944de2ac93d87031e9e97 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 30 Sep 2015 09:18:30 -0400 Subject: [PATCH] get rid of compiler warnings, add logging --- client/SAM.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/SAM.cpp b/client/SAM.cpp index febc6245..1a0e06ca 100644 --- a/client/SAM.cpp +++ b/client/SAM.cpp @@ -924,8 +924,12 @@ namespace client } - void SAMBridge::HandleForwardedUDP(const boost::system::error_code& ecode, std::size_t bytes_transferrted) + void SAMBridge::HandleForwardedUDP(const boost::system::error_code& ecode, std::size_t bytes_transferred) { + if(!ecode) + { + LogPrint("Forwarded ", bytes_transferred, "B"); + } if(m_Forward) { delete [] m_Forward;