Minor improvements.
This commit is contained in:
parent
b4f6e716ac
commit
0362411550
@ -238,7 +238,7 @@ void SessionConnection::reset_server_time_difference(MessageId message_id) {
|
||||
|
||||
Status SessionConnection::on_packet_rpc_result(const MsgInfo &info, Slice packet) {
|
||||
TlParser parser(packet);
|
||||
uint64 req_msg_id = static_cast<uint64>(parser.fetch_long());
|
||||
auto req_msg_id = static_cast<uint64>(parser.fetch_long());
|
||||
if (parser.get_error()) {
|
||||
return Status::Error(PSLICE() << "Failed to parse mtproto_api::rpc_result: " << parser.get_error());
|
||||
}
|
||||
|
@ -49,6 +49,7 @@
|
||||
#include "td/utils/misc.h"
|
||||
#include "td/utils/Random.h"
|
||||
#include "td/utils/Slice.h"
|
||||
#include "td/utils/SliceBuilder.h"
|
||||
#include "td/utils/Status.h"
|
||||
#include "td/utils/Time.h"
|
||||
#include "td/utils/tl_helpers.h"
|
||||
|
Loading…
Reference in New Issue
Block a user