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

Commit eb954db3 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

Change-Id: I6967c5d73a2a59725e0011c00467949fcb6bae95
parents 05055906 396cd74d
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;