Remove duplicated fields from log message.

This commit is contained in:
levlam 2023-03-08 17:23:27 +03:00
parent b13ab1e148
commit a8d0459827

View File

@ -40,8 +40,7 @@ void TlParser::set_error(const string &error_message) {
data_len = 0;
} else {
LOG_CHECK(error_pos != std::numeric_limits<size_t>::max() && data_len == 0 && left_len == 0)
<< data_len << " " << left_len << " " << data << " " << &empty_data[0] << " " << error_pos << " " << error
<< " " << data << " " << &empty_data;
<< data_len << ' ' << left_len << ' ' << data << ' ' << &empty_data[0] << ' ' << error_pos << ' ' << error;
data = empty_data;
}
}