From c3a888bc6a1ef0f924225eaccf81e7bbf830c328 Mon Sep 17 00:00:00 2001 From: wimpunk Date: Mon, 13 Sep 2010 06:28:14 +0000 Subject: [PATCH] Applied patch from ticket #7, provided by Chris Carr git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@118 3873ddee-7413-0410-b6c4-c2c57c1ab35a --- ddclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient b/ddclient index 599eaee..dd7ce33 100755 --- a/ddclient +++ b/ddclient @@ -1079,7 +1079,7 @@ sub init_config { $opt{'use'} = 'web' if !define($opt{'use'}) && defined($opt{'web'}); ## sanity check - $opt{'max-interval'} = max(interval(opt('max-interval')), interval(default('max-interval'))); + $opt{'max-interval'} = min(interval(opt('max-interval')), interval(default('max-interval'))); $opt{'min-interval'} = max(interval(opt('min-interval')), interval(default('min-interval'))); $opt{'min-error-interval'} = max(interval(opt('min-error-interval')), interval(default('min-error-interval')));