From cd358899f8e2ce6d9572f34efce6ab5e0ca12696 Mon Sep 17 00:00:00 2001 From: JMCC <34961948+teacupx@users.noreply.github.com> Date: Sun, 16 Jan 2022 21:42:49 +0100 Subject: [PATCH] Update ddclient.in Cleaner syntax Co-authored-by: Sandro --- ddclient.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ddclient.in b/ddclient.in index b5db60d..e74ec12 100755 --- a/ddclient.in +++ b/ddclient.in @@ -5845,12 +5845,9 @@ sub nic_keysystems_update { # Set the URL that we're going to to update my $url; $url = "http://$config{$h}{'server'}/update.php"; - $url .= "?hostname="; - $url .= $h; - $url .= "&password="; - $url .= $config{$h}{'password'}; - $url .= "&ip="; - $url .= $ip; + $url .= "?hostname=$h"; + $url .= "&password=$config{$h}{'password'}"; + $url .= "&ip=$ip"; # Try to get URL my $reply = geturl(opt('proxy'), $url);