DRY fetch of msglists.
authorArt Cancro <ajc@citadel.org>
Wed, 16 Aug 2023 03:14:24 +0000 (18:14 -0900)
committerArt Cancro <ajc@citadel.org>
Wed, 16 Aug 2023 03:14:24 +0000 (18:14 -0900)
commit1464a5879a5f18c1de507669dbe8130ebde9d5ab
treef886e861c76c191c5e5d6bd496562e3569c19ac2
parent47aaf550a837fa24b5fe3be79968f99ad59af32a
DRY fetch of msglists.

A lot of the calls to cdb_fetch(CDB_MSGLISTS...) follow the same design pattern
and many of them are in need of rework to handle how they free their memory.  So
I created a new function CtdlGetMsgList() to do it in a consistent way.  Three
callers have been migrated to the new syntax.
citadel/server/control.c
citadel/server/euidindex.c
citadel/server/modules/autocompletion/serv_autocompletion.c
citadel/server/room_ops.c
citadel/server/room_ops.h