diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-09-11 14:10:17 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-09-11 14:10:17 +0000 |
commit | 02c8ceb4e54f8c8bc148e2a04858d5bcd8b40ac8 (patch) | |
tree | 6d35ced953b2c072c43d6c20c3b5fa18ed376638 | |
parent | 56a31d1d201e2835f305bc3f5dbe2e622d2698f7 (diff) |
Merged revisions 82236 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r82236 | russell | 2007-09-11 09:09:43 -0500 (Tue, 11 Sep 2007) | 2 lines
Document why membercount can not simply be replaced by ao2_container_count()
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | apps/app_queue.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index d0b6affc0..33fc539d7 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -408,7 +408,12 @@ struct call_queue { int autofill; /*!< Ignore the head call status and ring an available agent */ struct ao2_container *members; /*!< Head of the list of members */ - int membercount; /*!< Number of members in queue */ + /*! + * \brief Number of members _logged in_ + * \note There will be members in the members container that are not logged + * in, so this can not simply be replaced with ao2_container_count(). + */ + int membercount; struct queue_ent *head; /*!< Head of the list of callers */ AST_LIST_ENTRY(call_queue) list; /*!< Next call queue */ }; |