mgmapi.cpp:

  bug #6919
parent 015b6f41
...@@ -574,7 +574,9 @@ cmp_state(const void *_a, const void *_b) ...@@ -574,7 +574,9 @@ cmp_state(const void *_a, const void *_b)
a = (struct ndb_mgm_node_state *)_a; a = (struct ndb_mgm_node_state *)_a;
b = (struct ndb_mgm_node_state *)_b; b = (struct ndb_mgm_node_state *)_b;
return a->node_id > b->node_id; if (a->node_id > b->node_id)
return 1;
return -1;
} }
extern "C" extern "C"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment