CtdlFetchMsgList() - treat no-record and zero-messages identically
authorArt Cancro <ajc@citadel.org>
Thu, 17 Aug 2023 22:32:56 +0000 (13:32 -0900)
committerArt Cancro <ajc@citadel.org>
Thu, 17 Aug 2023 22:32:56 +0000 (13:32 -0900)
commit1a36df6a94d443c47b31b225a058748ead1adea0
tree56301b61e815fcb95445627e9ea0e6cdbfe94b5f
parentbd6d977323310624c3b0dec873614f77c50887f2
CtdlFetchMsgList() - treat no-record and zero-messages identically

In both cases, we return 0 to the caller and set the array pointer to NULL.
This simplifies the calling convention and eliminates extra code to check for both conditions
citadel/server/control.c
citadel/server/euidindex.c
citadel/server/modules/expire/serv_expire.c
citadel/server/modules/nntp/serv_nntp.c
citadel/server/room_ops.c