statusip: Remove unnecessary line.
This commit is contained in:
parent
50d30eeaaa
commit
9fe7743d70
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user