statusip: Remove unnecessary line.

This commit is contained in:
tastytea 2021-08-24 16:37:00 +02:00
parent 50d30eeaaa
commit 9fe7743d70
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 2 deletions

View File

@ -135,8 +135,7 @@ int main(int argc, char *argv[])
ipv6 = body.substr(0, body.find_first_of("\r\n"));
}
RestClient::HeaderFields headers{{"Host", get_host(url)}};
conn.SetHeaders(headers);
conn.SetHeaders({{"Host", get_host(url)}});
response = conn.get(get_ipv4(url));
if (response.code == 200)
{