dnsmadeeasy: Consolidate lines for readability

This commit is contained in:
Richard Hansen 2024-07-23 00:44:33 -04:00
parent 2eb0398cf2
commit 3dae16457a

View file

@ -6590,11 +6590,7 @@ sub nic_dnsmadeeasy_update {
for my $h (@_) {
my $ip = delete $config{$h}{'wantip'};
info("$h: Setting IP address to $ip");
my $url = $config{$h}{'server'} . $config{$h}{'script'};
$url .= "?username=$config{$h}{'login'}";
$url .= "&password=$config{$h}{'password'}";
$url .= "&ip=$ip";
$url .= "&id=$h";
my $url = "$config{$h}{'server'}$config{$h}{'script'}?username=$config{$h}{'login'}&password=$config{$h}{'password'}&ip=$ip&id=$h";
my $reply = geturl(proxy => opt('proxy'), url => $url);
if (!defined($reply) || !$reply) {
failed("$h: Request to $config{$h}{'server'} failed");