From 231601ae54181c3c5fbf9f2a772cd54dfe04b4ab Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 22 Jul 2024 21:59:52 -0400 Subject: [PATCH] domeneshop: Whitespace fixes --- ddclient.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ddclient.in b/ddclient.in index 056f4fd..1d35b16 100755 --- a/ddclient.in +++ b/ddclient.in @@ -4313,9 +4313,7 @@ EoEXAMPLE ###################################################################### sub nic_domeneshop_update { debug("\nnic_domeneshop_update -------------------"); - my $endpointPath = "/v0/dyndns/update"; - for my $h (@_) { my $ip = delete $config{$h}{'wantip'}; info("Setting IP address to %s for %s", $ip, $h); @@ -4326,13 +4324,11 @@ sub nic_domeneshop_update { login => $config{$h}{'login'}, password => $config{$h}{'password'}, ); - if (!defined($reply) || !$reply) { failed("Updating %s: Could not connect to %s.", $h, $config{$h}{'server'}); next; } next if !header_ok($h, $reply); - my @reply = split /\n/, $reply; my $status = shift(@reply); my $message = pop(@reply);