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

Commit 1d565a88 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:...

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

Change-Id: Iff5f727f282cb8cc4b6fa6b8a71b6b0c87369e7f
parents 5059c4c8 eb954db3
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;