]> granicus.if.org Git - apache/commitdiff
* modules/proxy/mod_serf.c
authorPaul Querna <pquerna@apache.org>
Sun, 29 Mar 2009 12:42:15 +0000 (12:42 +0000)
committerPaul Querna <pquerna@apache.org>
Sun, 29 Mar 2009 12:42:15 +0000 (12:42 +0000)
    (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

modules/proxy/mod_serf.c

index 584aed3cf0d18fda3216409fa54e9acd29a4e9a1..35c252f4af2930cab2f34bff1c8b8b94892f31f9 100644 (file)
@@ -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;
     }