dnsexit2: Delete redundant check

`header_ok` already checks whether the response is `undef`.
This commit is contained in:
Richard Hansen 2024-07-24 18:47:52 -04:00
parent e5b00216ec
commit 56f0d931a4

View file

@ -4022,7 +4022,7 @@ sub dnsexit2_update_host {
update => \@updates,
}),
);
unless ($reply && header_ok($h, $reply)) {
if (!header_ok($h, $reply)) {
failed("$h: request to $url failed");
return;
};