summaryrefslogtreecommitdiffstats
path: root/modules/cluster
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2022-04-27 22:36:14 +0200
committerChristophe Jaillet <jailletc36@apache.org>2022-04-27 22:36:14 +0200
commit2ed82458005192c7c10e5312acfe194bed924a8f (patch)
tree2d3d5a2a6927f2b624943c526a68a96561a729da /modules/cluster
parentHarden mod_session and avoid overflow in case of indecently large session (diff)
downloadapache2-2ed82458005192c7c10e5312acfe194bed924a8f.tar.xz
apache2-2ed82458005192c7c10e5312acfe194bed924a8f.zip
The only caller of hm_processmsg() passes an apr_size_t for the last parameter, so be consistent and update the definition accordingly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900340 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cluster')
-rw-r--r--modules/cluster/mod_heartmonitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c
index 30db11ac7b..4e193d28ed 100644
--- a/modules/cluster/mod_heartmonitor.c
+++ b/modules/cluster/mod_heartmonitor.c
@@ -529,7 +529,7 @@ static hm_server_t *hm_get_server(hm_ctx_t *ctx, const char *ip, const int port)
/* Process a message received from a backend node */
static void hm_processmsg(hm_ctx_t *ctx, apr_pool_t *p,
- apr_sockaddr_t *from, char *buf, int len)
+ apr_sockaddr_t *from, char *buf, apr_size_t len)
{
apr_table_t *tbl;