diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2008-06-05 20:33:06 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2008-06-05 20:33:06 +0000 |
commit | a6ba3be2c2f36a9a8db19715189046104126dd2d (patch) | |
tree | 316e3c2589998bf3283d2421bfaf64a2f67cde6d | |
parent | 816382861ecf3be4ef730deca2ae2cb0fedcfa74 (diff) |
Corrected error where the tags were not being reported - it was discovered that the tape message queued on the threads' queues did not contain the tags information.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@545 09dcff7a-b715-0410-9601-b79a96267cd0
-rw-r--r-- | orkbasecxx/Reporting.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/orkbasecxx/Reporting.cpp b/orkbasecxx/Reporting.cpp index 33f37f7..3af76d7 100644 --- a/orkbasecxx/Reporting.cpp +++ b/orkbasecxx/Reporting.cpp @@ -167,6 +167,8 @@ void Reporting::AddTapeMessage(MessageRef& messageRef) pRptTapeMsg->m_localIp = pTapeMsg->m_localIp; pRptTapeMsg->m_remoteIp = pTapeMsg->m_remoteIp; pRptTapeMsg->m_nativeCallId = pTapeMsg->m_nativeCallId; + // Copy the tags! + std::copy(pTapeMsg->m_tags.begin(), pTapeMsg->m_tags.end(), std::inserter(pRptTapeMsg->m_tags, pRptTapeMsg->m_tags.begin())); if(reportingThread->m_messageQueue.push(reportingMsgRef)) { |