From 07fbbeb5bb5b54797efab34e4f3115fdb487a13b Mon Sep 17 00:00:00 2001 From: Thomas Hebb Date: Sat, 25 Feb 2023 23:28:45 -0500 Subject: [PATCH] Fix a few whitespace issues and a typo --- ddclient.in | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ddclient.in b/ddclient.in index 530458f..a37bb16 100755 --- a/ddclient.in +++ b/ddclient.in @@ -931,13 +931,13 @@ my %services = ( }, }, 'keysystems' => { - 'updateable' => undef, - 'update' => \&nic_keysystems_update, - 'examples' => \&nic_keysystems_examples, - 'variables' => merge( + 'updateable' => undef, + 'update' => \&nic_keysystems_update, + 'examples' => \&nic_keysystems_examples, + 'variables' => merge( $variables{'keysystems-common-defaults'}, $variables{'service-common-defaults'}, - ), + ), }, 'dnsexit' => { 'updateable' => undef, @@ -962,10 +962,10 @@ my %services = ( 'update' => \&nic_enom_update, 'examples' => \&nic_enom_examples, 'variables' => { - %{$variables{'service-common-defaults'}}, - 'server' => setv(T_FQDNP, 1, 0, 'dynamic.name-services.com', undef), - 'min-interval' => setv(T_DELAY, 0, 0, 0, interval('5m')), - }, + %{$variables{'service-common-defaults'}}, + 'server' => setv(T_FQDNP, 1, 0, 'dynamic.name-services.com', undef), + 'min-interval' => setv(T_DELAY, 0, 0, 0, interval('5m')), + }, }, ); $variables{'merged'} = { @@ -1371,7 +1371,7 @@ sub write_cache { ## merge the updated host entries into the cache. foreach my $h (keys %config) { if (!exists $cache{$h} || $config{$h}{'update'}) { - map { defined($config{$h}{$_}) ? ($cache{$h}{$_} = $config{$h}{$_}) : () } @{$config{$h}{'cacheable'}}; + map { defined($config{$h}{$_}) ? ($cache{$h}{$_} = $config{$h}{$_}) : () } @{$config{$h}{'cacheable'}}; } else { map { $cache{$h}{$_} = $config{$h}{$_} } qw(atime wtime status); } @@ -5703,7 +5703,7 @@ sub nic_changeip_update { } ###################################################################### -## nic_googledomains_examples +## nic_godaddy_examples ## ## written by awalon ##