Skip to content

Commit

Permalink
Fix AdnlProxy Pong: 'data' used after it was moved
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypfau authored Aug 22, 2022
1 parent 36fbe3a commit 34c1c54
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion adnl/adnl-proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ void Receiver::receive_from_client(td::IPAddress addr, td::BufferSlice data) {
p.data = std::move(data);
p.adnl_start_time = start_time();
p.seqno = out_seqno_;
p.data = std::move(data);

auto enc = proxy_->encrypt(std::move(p));

Expand Down

0 comments on commit 34c1c54

Please sign in to comment.