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

Commit bf63150f authored by Nucca Chen's avatar Nucca Chen
Browse files

Update language to comply with Android's inclusive language guidance

See https://source.android.com/setup/contribute/respectful-code for
reference

Lint robot prefer to use inclusive terms for 'sane' as:
https://android-review.googlesource.com/c/platform/system/netd/+/1944696
Replace 'sane' by 'valid'.

BUG=162536543
Test: build, only comment changed

Change-Id: Ieb3124622e8a315a0df18e526bf2067d1d10bb47
parent 5d50b498
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ int getDnsInfo(unsigned netId, std::vector<std::string>* servers, std::vector<st
        return 0;
    }

    // Verify that the returned data is sane.
    // Verify that the returned data is valid.
    if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) {
        LOG(ERROR) << __func__ << ": nscount = " << nscount << ", dcount = " << dcount;
        return -ENOTRECOVERABLE;