From f0edd7f781a2d5e8aee8660454ed150c48f7abce Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 22 Jul 2024 21:59:20 -0400 Subject: [PATCH] domeneshop: Delete unnecessary comments --- ddclient.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ddclient.in b/ddclient.in index c76022d..056f4fd 100755 --- a/ddclient.in +++ b/ddclient.in @@ -4316,8 +4316,6 @@ sub nic_domeneshop_update { my $endpointPath = "/v0/dyndns/update"; - ## update each configured host - ## should improve to update in one pass for my $h (@_) { my $ip = delete $config{$h}{'wantip'}; info("Setting IP address to %s for %s", $ip, $h); @@ -4329,14 +4327,12 @@ sub nic_domeneshop_update { password => $config{$h}{'password'}, ); - # No response, declare as failed if (!defined($reply) || !$reply) { failed("Updating %s: Could not connect to %s.", $h, $config{$h}{'server'}); next; } next if !header_ok($h, $reply); - # evaluate response my @reply = split /\n/, $reply; my $status = shift(@reply); my $message = pop(@reply);