]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/modules/autocompletion/serv_autocompletion.c
dammit, learn to spell
[citadel.git] / citadel / server / modules / autocompletion / serv_autocompletion.c
index d8e04cb798166d4d84e900b9e2f436e200a9862e..413bf472b739920999baeff92ae7e3768206cecb 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright (c) 1987-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or disclosure
-// are subject to the terms of the GNU General Public License version 3.
+// is subject to the terms of the GNU General Public License version 3.
 
 #include "../../ctdl_module.h"
 #include "serv_autocompletion.h"
@@ -50,7 +50,7 @@ void hunt_for_autocomplete(long msgnum, char *search_string) {
        msg = CtdlFetchMessage(msgnum, 1);
        if (msg == NULL) return;
 
-       v = vcard_load(msg->cm_fields[eMesageText]);
+       v = vcard_load(msg->cm_fields[eMessageText]);
        CM_Free(msg);
 
        // Try to match from a friendly name (the "fn" field).  If there is