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"));
|
ipv6 = body.substr(0, body.find_first_of("\r\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
RestClient::HeaderFields headers{{"Host", get_host(url)}};
|
conn.SetHeaders({{"Host", get_host(url)}});
|
||||||
conn.SetHeaders(headers);
|
|
||||||
response = conn.get(get_ipv4(url));
|
response = conn.get(get_ipv4(url));
|
||||||
if (response.code == 200)
|
if (response.code == 200)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user