fix for new empty result code

This commit is contained in:
john30
2014-12-14 12:44:57 +01:00
parent f2eb31ea1f
commit caa0ddc027
+1 -1
View File
@@ -305,7 +305,7 @@ result_t Message::decode(const PartType partType, SymbolString& data,
int startPos = output.str().length();
result_t result = m_data->read(partType, data, offset, output, leadingSeparator, verbose, filterName, separator);
time(&m_lastUpdateTime);
if (result != RESULT_OK) {
if (result < RESULT_OK) {
m_lastValue.clear();
return result;
}