X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Feuidindex.c;fp=citadel%2Feuidindex.c;h=bfef39b4c900634967d0a45696625f6441662997;hb=7f9d699a7f73ac27bcbde2075a8758744036fb98;hp=8533caabf85a6099e7ed32463341265b27691b36;hpb=4a15af614c3957ed5f7092c27cd0cb954c725eac;p=citadel.git diff --git a/citadel/euidindex.c b/citadel/euidindex.c index 8533caabf..bfef39b4c 100644 --- a/citadel/euidindex.c +++ b/citadel/euidindex.c @@ -1,7 +1,7 @@ /* * Index messages by EUID per room. * - * Copyright (c) 1987-2019 by the citadel.org team + * Copyright (c) 1987-2020 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 3. @@ -131,7 +131,7 @@ void index_message_by_euid(char *euid, struct ctdlroom *qrbuf, long msgnum) { void rebuild_euid_index_for_msg(long msgnum, void *userdata) { struct CtdlMessage *msg = NULL; - msg = CtdlFetchMessage(msgnum, 0, 1); + msg = CtdlFetchMessage(msgnum, 0); if (msg == NULL) return; if (!CM_IsEmpty(msg, eExclusiveID)) { index_message_by_euid(msg->cm_fields[eExclusiveID], &CC->room, msgnum);