]> code.citadel.org Git - citadel.git/blobdiff - citadel/routines2.c
* Move the location of the "enable full text index" configuration item to
[citadel.git] / citadel / routines2.c
index 8491481314831820c1c1b0db4ea7460456c8b89a..d5d375600f29e94b529076a25306d3428216c2cd 100644 (file)
@@ -644,7 +644,7 @@ void read_bio(CtdlIPC *ipc)
 void do_system_configuration(CtdlIPC *ipc)
 {
 
-#define NUM_CONFIGS 42
+#define NUM_CONFIGS 43
 
        char buf[SIZ];
        char sc[NUM_CONFIGS][256];
@@ -829,9 +829,9 @@ void do_system_configuration(CtdlIPC *ipc)
 
        strprompt("How often to run network jobs (in seconds)", &sc[28][0], 5);
        strprompt("Hour to run purges (0-23)", &sc[31][0], 2);
-       snprintf(sc[30], sizeof sc[30], "%d", (boolprompt(
+       snprintf(sc[42], sizeof sc[42], "%d", (boolprompt(
                "Enable full text search index (warning: resource intensive)",
-               atoi(&sc[30][0]))));
+               atoi(&sc[42][0]))));
 
        /* Save it */
        scr_printf("Save this configuration? ");