You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2022/04/27 20:36:14 UTC

svn commit: r1900340 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

Author: jailletc36
Date: Wed Apr 27 20:36:14 2022
New Revision: 1900340

URL: http://svn.apache.org/viewvc?rev=1900340&view=rev
Log:
The only caller of hm_processmsg() passes an apr_size_t for the last parameter, so be consistent and update the definition accordingly.

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=1900340&r1=1900339&r2=1900340&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Wed Apr 27 20:36:14 2022
@@ -529,7 +529,7 @@ static hm_server_t *hm_get_server(hm_ctx
 
 /* 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;