summaryrefslogtreecommitdiffstats
path: root/modules/proxy/balancers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 13:43:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 13:43:02 +0000
commitbe1b1255f7fb08f598e2c251b13db93b2020e692 (patch)
treee80bdc42ae06751337712ca1e310820210b3af9c /modules/proxy/balancers
parentReleasing progress-linux version 2.4.57-2progress7u1. (diff)
downloadapache2-be1b1255f7fb08f598e2c251b13db93b2020e692.tar.xz
apache2-be1b1255f7fb08f598e2c251b13db93b2020e692.zip
Merging upstream version 2.4.59.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/proxy/balancers')
-rw-r--r--modules/proxy/balancers/mod_lbmethod_heartbeat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/proxy/balancers/mod_lbmethod_heartbeat.c b/modules/proxy/balancers/mod_lbmethod_heartbeat.c
index 5f4873a..0534e5b 100644
--- a/modules/proxy/balancers/mod_lbmethod_heartbeat.c
+++ b/modules/proxy/balancers/mod_lbmethod_heartbeat.c
@@ -115,7 +115,6 @@ static apr_status_t readfile_heartbeats(const char *path, apr_hash_t *servers,
{
char *t;
- int lineno = 0;
apr_bucket_alloc_t *ba = apr_bucket_alloc_create(pool);
apr_bucket_brigade *bb = apr_brigade_create(pool, ba);
apr_bucket_brigade *tmpbb = apr_brigade_create(pool, ba);
@@ -137,7 +136,6 @@ static apr_status_t readfile_heartbeats(const char *path, apr_hash_t *servers,
rv = apr_brigade_split_line(tmpbb, bb,
APR_BLOCK_READ, sizeof(buf));
- lineno++;
if (rv) {
return rv;