]> code.citadel.org Git - citadel.git/blobdiff - citadel/config.c
const!
[citadel.git] / citadel / config.c
index 3a4e088f8b50f30b6fc347e93b4fe98920e26b8a..b2d27c8b63ca42d5276342a9f5982e80d71b519c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Read and write the citadel.config file
  *
- * Copyright (c) 1987-2015 by the citadel.org team
+ * Copyright (c) 1987-2014 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.
@@ -167,10 +167,8 @@ void setcfglen(void)
        configlen.c_pager_program = strlen(config.c_pager_program);
 }
 
-
-
 /*
- * Called during the initialization of Citadel server.
+ * get_config() is called during the initialization of Citadel server.
  * It verifies the system's integrity and reads citadel.config into memory.
  */
 void get_config(void) {
@@ -322,7 +320,7 @@ char *CtdlGetSysConfig(char *sysconfname) {
                conf = NULL;
        }
        else {
-               msg = CtdlFetchMessage(msgnum, 1);
+               msg = CtdlFetchMessage(msgnum, 1, 1);
                if (msg != NULL) {
                        conf = strdup(msg->cm_fields[eMesageText]);
                        CM_Free(msg);