fix whitespace diffs
This commit is contained in:
parent
1449e21a7d
commit
53d81eba97
1 changed files with 76 additions and 78 deletions
6
ddclient
6
ddclient
|
|
@ -409,8 +409,6 @@ my %variables = (
|
|||
'cmd-skip' => setv(T_STRING,0, 0, 1, '', undef),
|
||||
'cmdv6' => setv(T_PROG, 0, 0, 1, '', undef),
|
||||
'cmdv6-skip' => setv(T_STRING,0, 0, 1, '', undef),
|
||||
|
||||
|
||||
'ip' => setv(T_IP, 0, 1, 0, undef, undef),
|
||||
'ipv6' => setv(T_IPV6, 0, 1, 0, undef, undef),
|
||||
'wtime' => setv(T_DELAY, 0, 1, 1, 0, interval('30s')),
|
||||
|
|
@ -2373,7 +2371,6 @@ sub get_ip {
|
|||
if (!defined $reply) {
|
||||
$reply = '';
|
||||
}
|
||||
|
||||
if ($skip) {
|
||||
$skip =~ s/ /\\s/is;
|
||||
$reply =~ s/^.*?${skip}//is;
|
||||
|
|
@ -2597,6 +2594,7 @@ sub nic_updateable {
|
|||
prettyinterval($config{$host}{'min-interval'})
|
||||
)
|
||||
if opt('verbose') || !define($cache{$host}{'warned-min-interval'}, 0);
|
||||
|
||||
$cache{$host}{'warned-min-interval'} = $now;
|
||||
|
||||
} elsif (($cache{$host}{'status'} ne 'good') && !interval_expired($host, 'atime', 'min-error-interval')) {
|
||||
|
|
@ -2610,6 +2608,7 @@ sub nic_updateable {
|
|||
prettyinterval($config{$host}{'min-error-interval'})
|
||||
)
|
||||
if opt('verbose') || !define($cache{$host}{'warned-min-error-interval'}, 0);
|
||||
|
||||
$cache{$host}{'warned-min-error-interval'} = $now;
|
||||
|
||||
} else {
|
||||
|
|
@ -2684,7 +2683,6 @@ sub nic_updateable {
|
|||
|
||||
return $update;
|
||||
}
|
||||
|
||||
######################################################################
|
||||
## header_ok
|
||||
######################################################################
|
||||
|
|
|
|||
Loading…
Reference in a new issue