Hi!

There are two checks against n_tries in forward.cc but only at one place
the configured value of forward_max_tries is used for the check.
This patch fixes the second check to use also the configured value
instead of the value of 10.

-- Matthias
--- src/forward.cc.orig Tue May  7 08:08:31 2013
+++ src/forward.cc      Tue May  7 08:24:41 2013
@@ -514,7 +514,7 @@ FwdState::checkRetry()
     if (!entry->isEmpty())
         return false;
 
-    if (n_tries > 10)
+    if (n_tries > Config.forward_max_tries)
         return false;
 
     if (origin_tries > 2)

Reply via email to