[Quickfix-developers] bug?
Brought to you by:
orenmnero
From: Hei C. <str...@ya...> - 2011-02-20 04:10:20
|
Hi, It seems like SessionID::m_isFIXT isn't reset after someone calls SessionID::fromString(): void fromString( const std::string& str ) { std::string::size_type first = str.find_first_of(':'); std::string::size_type second = str.find("->"); std::string::size_type third = str.find_last_of(':'); if( first == std::string::npos ) return; if( second == std::string::npos ) return; m_beginString = str.substr(0, first); m_senderCompID = str.substr(first+1, second - first - 1); if( first == third ) { m_targetCompID = str.substr(second+2); m_sessionQualifier = ""; } else { m_targetCompID = str.substr(second+2, third - second - 2); m_sessionQualifier = str.substr(third+1); } toString(m_frozenString); } Am I missing something? I am using the latest release -- 1.13.3 Thanks in advance. Cheers, Hei |