use an Enum for the cm_fields vector instead of nameless chars
[citadel.git] / citadel / modules / fulltext / serv_fulltext.c
index 8e668778817a405208c55cc6ab3ffd7e34f217ad..547caaefd216ea810535d6d67ed66f053e06ae7f 100644 (file)
@@ -126,7 +126,7 @@ void ft_index_message(long msgnum, int op) {
                return;
        }
 
-       if (msg->cm_fields['1'] != NULL) {
+       if (msg->cm_fields[eSuppressIdx] != NULL) {
                syslog(LOG_DEBUG, "ft_index_message() excluded msg %ld", msgnum);
                CtdlFreeMessage(msg);
                return;