Added not used no-host patch to patches section

git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@93 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
wimpunk 2008-06-13 20:08:38 +00:00
parent 1e5829363f
commit 365a1b3598

13
svn/patches/no-host.patch Normal file
View file

@ -0,0 +1,13 @@
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 '') {