Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 21975f31 authored by Mike Yu's avatar Mike Yu
Browse files

Refactor DnsResponderClient::GetResolverInfo

Refactor GetResolverInfo() to return a wrapper, so callers won't
have to define several variables to pass them to the function.

Apart from that, this change fixes a bug that the DnsResolver crashes
if wait_for_pending_req_timeout_count is an empty vector.

Bug: 237766689
Test: atest
Change-Id: I4ce05be760eca7f52e36c9b0b79852a054bfc757
parent 0eb6bc01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment