From df3c777e118a30dba96ac1a4f2e48fb3dc10e015 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 6 Jul 2020 20:25:42 -0400 Subject: [PATCH] Delete out-of-place debug messages Neither `opt('fw')` nor `$globals{'fw'}` are used in `geturl` so delete the debug messages showing their values. --- ddclient.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/ddclient.in b/ddclient.in index c2a25da..59ec50f 100755 --- a/ddclient.in +++ b/ddclient.in @@ -1984,8 +1984,6 @@ sub geturl { $server =~ s%[?/].*%%; $url =~ s%^[^?/]*/?%%; - opt('fw') && debug("opt(fw = %s)", opt('fw')); - $globals{'fw'} && debug("glo fw = %s", $globals{'fw'}); if ($force_ssl || ($globals{'ssl'} && !($params->{ignore_ssl_option} // 0))) { $use_ssl = 1; $default_port = '443';