diff options
| author | David Teigland <teigland@redhat.com> | 2009-05-26 16:20:04 -0500 |
|---|---|---|
| committer | David Teigland <teigland@redhat.com> | 2009-05-26 16:20:04 -0500 |
| commit | 3f33e0dc31418cdc2ff482f6fe1934dd3d580904 (patch) | |
| tree | 2b08aaa6776596d3503b4a3341b22441b2a189a9 | |
| parent | 626ac2fc3f29df3344f4da20e3a9016b7cdb3c8a (diff) | |
| download | dct-stuff-3f33e0dc31418cdc2ff482f6fe1934dd3d580904.tar.gz dct-stuff-3f33e0dc31418cdc2ff482f6fe1934dd3d580904.tar.xz dct-stuff-3f33e0dc31418cdc2ff482f6fe1934dd3d580904.zip | |
cpgx: add todo for sorting nodeids
Signed-off-by: David Teigland <teigland@redhat.com>
| -rw-r--r-- | cpgx/cpgx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpgx/cpgx.c b/cpgx/cpgx.c index 179638d..3b518ee 100644 --- a/cpgx/cpgx.c +++ b/cpgx/cpgx.c @@ -1001,6 +1001,8 @@ static void confchg_cb(cpg_handle_t handle, const struct cpg_name *group_name, c.left_count = left_list_entries; c.join_count = join_list_entries; + /* TODO: sort nodeids in each list */ + for (i = 0; i < memb_list_entries; i++) c.memb[i] = (uint8_t)memb_list[i].nodeid; for (i = 0; i < left_list_entries; i++) |
