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
/
modules
/
fulltext
/
serv_fulltext.c
diff --git
a/citadel/modules/fulltext/serv_fulltext.c
b/citadel/modules/fulltext/serv_fulltext.c
index 547caaefd216ea810535d6d67ed66f053e06ae7f..7943e344cc87a392c0947917e1374f7249b35318 100644
(file)
--- a/
citadel/modules/fulltext/serv_fulltext.c
+++ b/
citadel/modules/fulltext/serv_fulltext.c
@@
-126,7
+126,7
@@
void ft_index_message(long msgnum, int op) {
return;
}
- if (
msg->cm_fields[eSuppressIdx] != NULL
) {
+ if (
!CM_IsEmpty(msg, eSuppressIdx)
) {
syslog(LOG_DEBUG, "ft_index_message() excluded msg %ld", msgnum);
CtdlFreeMessage(msg);
return;