Changeset 1428
- Timestamp:
- 07/07/05 12:12:29 (4 years ago)
- Files:
-
- hydranode/modules/ed2k/tag.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hydranode/modules/ed2k/tag.cpp
r1426 r1428 36 36 m_opcode = Utils::getVal<uint8_t>(i); 37 37 if ((m_valueType > 0x10) && (m_valueType -= 0x10)) { 38 m_value = Utils::getVal<std::string>(i, m_valueType).value(); 38 m_value = Utils::getVal<std::string>( 39 i, m_valueType 40 ).value(); 39 41 m_valueType = TT_STRING; 40 42 logTrace(TRACE_TAG, … … 128 130 uint16_t len = any_cast<std::string>(t.m_value).size(); 129 131 Utils::putVal<uint16_t>(o, len); 130 Utils::putVal<std::string>(o, any_cast<std::string>(t.m_value), len); 132 Utils::putVal<std::string>( 133 o, any_cast<std::string>(t.m_value), len 134 ); 131 135 break; 132 136 }
