X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsetup_wizard.c;h=bbac2183c53eee8f0dde127ef9a972bcc2e70586;hb=86a1d535af8c52cc9536b03b707eed2d8674da31;hp=a6beb9a0cbca6fa1ec8a792e06a4a4c8ea4d2034;hpb=0f72e15a12dcc90e3dbfc01ff35c0e910a8d419e;p=citadel.git diff --git a/webcit/setup_wizard.c b/webcit/setup_wizard.c index a6beb9a0c..bbac2183c 100644 --- a/webcit/setup_wizard.c +++ b/webcit/setup_wizard.c @@ -1,14 +1,9 @@ /* - * $Id$ - * * First-time setup wizard */ #include "webcit.h" - -/* - */ void do_setup_wizard(void) { char *step; @@ -19,37 +14,40 @@ 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(); return; } - output_headers(1, 1, 2, 0, 0, 0); + output_headers(1, 1, 1, 0, 0, 0); - wprintf("
\n"); + wc_printf(" \n"); - wprintf("