]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/config.c
dammit, learn to spell
[citadel.git] / citadel / server / config.c
index 49ef9600c69bf58734b727c8087cb19a8960f9da..44b1c3d97f6e667578216ddc142fcfbb250a52a6 100644 (file)
@@ -1,6 +1,6 @@
 // Read and write the system configuration database
 //
-// Copyright (c) 1987-2022 by the citadel.org team
+// Copyright (c) 1987-2024 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or disclosure
 // is subject to the terms of the GNU General Public License, version 3.
@@ -10,7 +10,6 @@
 #include <unistd.h>
 #include <stdio.h>
 #include <netdb.h>
-#include <crypt.h>
 #include <sys/utsname.h>
 #include <libcitadel.h>
 #include <assert.h>
@@ -187,7 +186,6 @@ void migrate_legacy_config(struct legacy_config *lconfig) {
        CtdlSetConfigInt(       "c_imaps_port"          ,       lconfig->c_imaps_port           );
        CtdlSetConfigInt(       "c_pop3s_port"          ,       lconfig->c_pop3s_port           );
        CtdlSetConfigInt(       "c_smtps_port"          ,       lconfig->c_smtps_port           );
-       CtdlSetConfigInt(       "c_auto_cull"           ,       lconfig->c_auto_cull            );
        CtdlSetConfigInt(       "c_allow_spoofing"      ,       lconfig->c_allow_spoofing       );
        CtdlSetConfigInt(       "c_journal_email"       ,       lconfig->c_journal_email        );
        CtdlSetConfigInt(       "c_journal_pubmsgs"     ,       lconfig->c_journal_pubmsgs      );
@@ -441,7 +439,7 @@ char *CtdlGetSysConfig(char *sysconfname) {
        else {
                msg = CtdlFetchMessage(msgnum, 1);
                if (msg != NULL) {
-                       conf = strdup(msg->cm_fields[eMesageText]);
+                       conf = strdup(msg->cm_fields[eMessageText]);
                        CM_Free(msg);
                }
                else {