* move serv_info into the session, here we can control its de/allocation the right...
[citadel.git] / webcit / setup_wizard.c
index 8b52e0616f812a609beea2e2a6e840f1e45a7025..a22b8fc03a2c0191031fa54c6315f71f8012d40f 100644 (file)
@@ -19,7 +19,7 @@ void do_setup_wizard(void)
        if (!strcasecmp(step, "Finish")) {
                fp = fopen(wizard_filename, "w");
                if (fp != NULL) {
-                       fprintf(fp, "%d\n", serv_info.serv_rev_level);
+                       fprintf(fp, "%d\n", WC->serv_info->serv_rev_level);
                        fclose(fp);
                }
                do_welcome();