Skip to content

Commit ce969fd

Browse files
committed
fix hosts check typo and watchdog semicolon
1 parent 6e8e202 commit ce969fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

auth.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2326,7 +2326,7 @@ bool hosts_override_present(const std::string& host)
23262326
[](unsigned char c) { return static_cast<char>(std::tolower(c)); });
23272327

23282328
// word check example, this can always be improved
2329-
if (line.find(" " + host_lower) != std:string::npos || line.find("\t" + host_lower) != std::string::npos)
2329+
if (line.find(" " + host_lower) != std::string::npos || line.find("\t" + host_lower) != std::string::npos)
23302330
return true;
23312331
}
23322332
return false;
@@ -3103,7 +3103,7 @@ static void security_watchdog()
31033103
while (true) {
31043104
Sleep(15000);
31053105
if (!checkinit_ok()) {
3106-
error(XorStr("security watchdog detected tamper."))
3106+
error(XorStr("security watchdog detected tamper."));
31073107
}
31083108
checkInit();
31093109
}

0 commit comments

Comments
 (0)