From: Christophe Jaillet Date: Wed, 27 Apr 2022 20:36:14 +0000 (+0000) Subject: The only caller of hm_processmsg() passes an apr_size_t for the last parameter, so... X-Git-Tag: 2.5.0-alpha2-ci-test-only~361 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed82458005192c7c10e5312acfe194bed924a8f;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 30db11ac7b8..4e193d28edc 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;