DEV9: Formatting

This commit is contained in:
TheLastRar 2022-05-26 19:11:09 +01:00 committed by lightningterror
parent 02f27f8cbc
commit 839ea61d55
2 changed files with 2 additions and 4 deletions

View File

@ -202,7 +202,7 @@ namespace InternalServers
bool DNS_Server::CheckHostList(std::string url, DNS_State* state)
{
std::transform(url.begin(), url.end(), url.begin(),
[](unsigned char c) { return std::tolower(c); });
[](unsigned char c) { return std::tolower(c); });
auto f = hosts.find(url);
if (f != hosts.end())

View File

@ -419,9 +419,7 @@ std::vector<AdapterEntry> PCAPAdapter::GetAdapters()
pcap_if_t* d;
if (pcap_findalldevs(&alldevs, errbuf) == -1)
{
return nic;
}
d = alldevs;
while (d != NULL)