From 7794e1299d31159141bc14948aa28e29423f2d09 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Stefan=20B=C3=BChler?= Date: Wed, 20 Feb 2008 18:16:54 +0100 Subject: [PATCH] Fix RoundRobing in mod_proxy (#516) --- src/mod_proxy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mod_proxy.c b/src/mod_proxy.c index 8065341..4d8ecdd 100644 --- a/src/mod_proxy.c +++ b/src/mod_proxy.c @@ -1205,7 +1205,7 @@ static handler_t mod_proxy_check_extension(server *srv, connection *con, void *p } /* didn't found a higher id, wrap to the start */ - if (ndx != -1 && max_usage != INT_MAX) { + if (ndx == -1 && max_usage != INT_MAX) { ndx = max_usage; } -- 1.5.4.1