Merge pull request #228 from dkerr64/cleanup
Add missing semicolons and fix incorrect debug message
This commit is contained in:
commit
f527b7487c
1 changed files with 7 additions and 3 deletions
10
ddclient.in
10
ddclient.in
|
@ -961,6 +961,7 @@ sub update_nics {
|
||||||
}
|
}
|
||||||
write_cache(opt('cache'));
|
write_cache(opt('cache'));
|
||||||
}
|
}
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
## unlink_pid()
|
## unlink_pid()
|
||||||
######################################################################
|
######################################################################
|
||||||
|
@ -1090,7 +1091,7 @@ sub parse_assignment {
|
||||||
} elsif ($c eq "\\") {
|
} elsif ($c eq "\\") {
|
||||||
$escape = 1;
|
$escape = 1;
|
||||||
} elsif ($quote && $c eq $quote) {
|
} elsif ($quote && $c eq $quote) {
|
||||||
$quote = ''
|
$quote = '';
|
||||||
} elsif (!$quote && $c =~ /[\'\"]/) {
|
} elsif (!$quote && $c =~ /[\'\"]/) {
|
||||||
$quote = $c;
|
$quote = $c;
|
||||||
} elsif (!$quote && $c =~ /^[\n\s,]/) {
|
} elsif (!$quote && $c =~ /^[\n\s,]/) {
|
||||||
|
@ -1458,6 +1459,7 @@ sub process_args {
|
||||||
}
|
}
|
||||||
return $usage;
|
return $usage;
|
||||||
}
|
}
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
## test_possible_ip - print possible IPs
|
## test_possible_ip - print possible IPs
|
||||||
######################################################################
|
######################################################################
|
||||||
|
@ -1545,7 +1547,7 @@ sub load_file {
|
||||||
} else {
|
} else {
|
||||||
debug("Load failed from %s (%s)", $file, $!);
|
debug("Load failed from %s (%s)", $file, $!);
|
||||||
}
|
}
|
||||||
return $buffer
|
return $buffer;
|
||||||
}
|
}
|
||||||
######################################################################
|
######################################################################
|
||||||
## save_file
|
## save_file
|
||||||
|
@ -2337,6 +2339,7 @@ sub group_hosts_by {
|
||||||
}
|
}
|
||||||
return %groups;
|
return %groups;
|
||||||
}
|
}
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
## encode_www_form_urlencoded
|
## encode_www_form_urlencoded
|
||||||
######################################################################
|
######################################################################
|
||||||
|
@ -2535,6 +2538,7 @@ sub nic_updateable {
|
||||||
|
|
||||||
return $update;
|
return $update;
|
||||||
}
|
}
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
## header_ok
|
## header_ok
|
||||||
######################################################################
|
######################################################################
|
||||||
|
@ -4941,7 +4945,7 @@ EoEXAMPLE
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
sub nic_dondominio_update {
|
sub nic_dondominio_update {
|
||||||
debug("\nnic_duckdns_update -------------------");
|
debug("\nnic_dondominio_update -------------------");
|
||||||
|
|
||||||
## update each configured host
|
## update each configured host
|
||||||
## should improve to update in one pass
|
## should improve to update in one pass
|
||||||
|
|
Loading…
Reference in a new issue