From a6ba3be2c2f36a9a8db19715189046104126dd2d Mon Sep 17 00:00:00 2001 From: Gerald Begumisa Date: Thu, 5 Jun 2008 20:33:06 +0000 Subject: 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 --- orkbasecxx/Reporting.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'orkbasecxx/Reporting.cpp') 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)) { -- cgit v1.2.3