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

Commit 66503340 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "DnsResolver/res_comp.cpp - fix bugprone-branch-clone warning" am: 1017d5c4

Change-Id: I446f255ae755a50f46bba366e416022337e8de77
parents a8dea67f 1017d5c4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -148,9 +148,7 @@ bool res_hnok(const char* dn) {

        if (periodchar(ch)) {
            ;
        } else if (periodchar(pch)) {
            if (!borderchar(ch)) return false;
        } else if (periodchar(nch) || nch == '\0') {
        } else if (periodchar(pch) || periodchar(nch) || nch == '\0') {
            if (!borderchar(ch)) return false;
        } else {
            if (!middlechar(ch)) return false;