From 56f0d931a457f62490f380150a3d214b2278feae Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Wed, 24 Jul 2024 18:47:52 -0400 Subject: [PATCH] dnsexit2: Delete redundant check `header_ok` already checks whether the response is `undef`. --- ddclient.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 7a3e5f7..6396281 100755 --- a/ddclient.in +++ b/ddclient.in @@ -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; };