summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 13:05:44 +0100
committerRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 13:05:44 +0100
commitc1787ac7b6dfae1ad7f63acc79b6a085dcee2a86 (patch)
tree3f2661c81ddb33cdd9f83b318c0f6544eadf565e /src
parent73d28d42592666657d8a9b0d2279c042c00f0eb8 (diff)
fix comments
Diffstat (limited to 'src')
-rw-r--r--src/AntChannel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AntChannel.cpp b/src/AntChannel.cpp
index 072be08..d275b8c 100644
--- a/src/AntChannel.cpp
+++ b/src/AntChannel.cpp
@@ -82,9 +82,9 @@ bool
AntListenerBase::waitForMsg(AntMessage* m, const size_t timeout_ms)
{
boost::unique_lock<boost::mutex> lock(m_mtxResp);
- if(m_msgResp)
+ if(m_msgResp) // it had already arrived
{
- if(m) *m = *m_msgResp; // it had already arrived
+ if(m) *m = *m_msgResp;
m_msgResp.reset();
return true;
}