From a39c451f167eadab3c947518fa245dbdb173f46e Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Mon, 24 Aug 2009 21:42:31 +0000 Subject: [PATCH] added a bit of documentation --- src/common/assoc_mgr.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/assoc_mgr.c b/src/common/assoc_mgr.c index 6dfe4c1601c..dd270454548 100644 --- a/src/common/assoc_mgr.c +++ b/src/common/assoc_mgr.c @@ -2071,6 +2071,11 @@ extern int assoc_mgr_update_qos(acct_update_object_t *update) break; } list_append(assoc_mgr_qos_list, object); + + /* Since in the database id's don't start at 1 + instead of 0 we need to ignore the 0 bit and start + with 1 so increase the count by 1. + */ if(object->id+1 > g_qos_count) { resize_qos_bitstr = 1; g_qos_count = object->id+1; -- GitLab