projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace all discrete checks for empty message fields by CM_IsEmpty()
[citadel.git]
/
citadel
/
euidindex.c
diff --git
a/citadel/euidindex.c
b/citadel/euidindex.c
index bcf0606ed1ea67dc79476c2f6f34c39f2a78d66c..8a40cce13662a8b8100a0ffe760e454d6b2939de 100644
(file)
--- a/
citadel/euidindex.c
+++ b/
citadel/euidindex.c
@@
-162,7
+162,7
@@
void rebuild_euid_index_for_msg(long msgnum, void *userdata) {
msg = CtdlFetchMessage(msgnum, 0);
if (msg == NULL) return;
- if (
msg->cm_fields[eExclusiveID] != NULL
) {
+ if (
!CM_IsEmpty(msg, eExclusiveID)
) {
index_message_by_euid(msg->cm_fields[eExclusiveID], &CC->room, msgnum);
}
CtdlFreeMessage(msg);