From: Paul Querna Date: Sun, 29 Mar 2009 12:42:15 +0000 (+0000) Subject: * modules/proxy/mod_serf.c X-Git-Tag: 2.3.3~765 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d85632112409a0a2517b62e0c299aa0d194f500;p=apache * modules/proxy/mod_serf.c (hb_server_sort): Use correct variables for sorting. Noticed by: Rüdiger git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759673 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_serf.c b/modules/proxy/mod_serf.c index 584aed3cf0..35c252f4af 100644 --- a/modules/proxy/mod_serf.c +++ b/modules/proxy/mod_serf.c @@ -916,8 +916,8 @@ static apr_status_t read_heartbeats(const char *path, static int hb_server_sort(const void *a_, const void *b_) { - hb_server_t *a = (hb_server_t*)a; - hb_server_t *b = (hb_server_t*)b; + hb_server_t *a = (hb_server_t*)a_; + hb_server_t *b = (hb_server_t*)b_; if (a->ready == b->ready) { return 0; }