From 76bd12a948b0d1f54260926f1c8f4fa150a39812 Mon Sep 17 00:00:00 2001 From: wimpunk Date: Wed, 21 Feb 2007 16:54:08 +0000 Subject: [PATCH] Preventing unitialized values, check https://sourceforge.net/forum/message.php?msg_id=4167772 git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@43 3873ddee-7413-0410-b6c4-c2c57c1ab35a --- svn/Changelog | 2 ++ svn/ddclient | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/svn/Changelog b/svn/Changelog index e7eed45..017b7df 100644 --- a/svn/Changelog +++ b/svn/Changelog @@ -1,5 +1,7 @@ Changelog +3.7.2 + 3.7.1 * URL of zoneedit has changed (see bug #1558483) * Added initscript for Ubuntu (posted by Paolo Martinelli) diff --git a/svn/ddclient b/svn/ddclient index 1160d7a..e767381 100755 --- a/svn/ddclient +++ b/svn/ddclient @@ -1656,8 +1656,8 @@ sub geturl { $url =~ s%^[^/]*/%%; debug("server = $server"); - debug("opt(fw = ",opt('fw')); - debug("glo fw = $globals{'fw'}"); + opt('fw') && debug("opt(fw = ",opt('fw'),")"); + $globals{'fw'} && debug("glo fw = $globals{'fw'}"); #if ( $globals{'ssl'} and $server ne $globals{'fw'} ) { ## always omit SSL for connections to local router if ( $globals{'ssl'} and (caller(1))[3] ne 'main::get_ip' ) {