ddclient/patches/no-host.patch
wimpunk 2c3faf69c7 Added not used no-host patch to patches section
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk/svn@93 3873ddee-7413-0410-b6c4-c2c57c1ab35a
2008-06-13 20:08:38 +00:00

13 lines
402 B
Diff

Index: ddclient
===================================================================
--- ddclient (revision 88)
+++ ddclient (working copy)
@@ -1996,7 +1996,7 @@
my $sub = shift;
my $update = 0;
- if ($config{$host}{'login'} eq '') {
+ if (!($config{$host}{'login'})) {
warning("null login name specified for host %s.", $host);
} elsif ($config{$host}{'password'} eq '') {