]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/config.c
dammit, learn to spell
[citadel.git] / citadel / server / config.c
index de80290bbddd680bb4ae8502fcafcdaaa4d0bca7..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>
@@ -440,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 {