From 6ff9e58e149329483fdd5d33c3b32d85a0862502 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/svn@43 3873ddee-7413-0410-b6c4-c2c57c1ab35a --- Changelog | 2 ++ ddclient | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index e7eed45..017b7df 100644 --- a/Changelog +++ b/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/ddclient b/ddclient index 1160d7a..e767381 100755 --- a/ddclient +++ b/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' ) {