X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Froutines2.c;h=d4e07c9292291e75c1eb6eb69ff50c53bb732e7f;hb=9dc7bcd39e5c317b6ca3f4f84f458c9cfccb878d;hp=d2629cd36efcd300fc2d6f3a0c4ecb452766e5ec;hpb=734fdd6797cc597be60ff9e9ab93477100f7d286;p=citadel.git diff --git a/citadel/routines2.c b/citadel/routines2.c index d2629cd36..d4e07c929 100644 --- a/citadel/routines2.c +++ b/citadel/routines2.c @@ -623,7 +623,7 @@ void read_bio(void) void do_system_configuration(void) { char buf[256]; - char sc[23][256]; + char sc[25][256]; int expire_mode = 0; int expire_value = 0; int a; @@ -637,7 +637,7 @@ void do_system_configuration(void) if (buf[0] == '1') { a = 0; while (serv_gets(buf), strcmp(buf, "000")) { - if (a < 23) + if (a < 25) strcpy(&sc[a][0], buf); ++a; } @@ -695,6 +695,8 @@ void do_system_configuration(void) strprompt("Minimum number of worker threads", &sc[21][0], 3); strprompt("Maximum number of worker threads", &sc[22][0], 3); strprompt("Server-to-server networking password", &sc[15][0], 19); + strprompt("POP3 server port (-1 to disable)", &sc[23][0], 5); + strprompt("SMTP server port (-1 to disable)", &sc[24][0], 5); /* Expiry settings */ @@ -733,7 +735,7 @@ void do_system_configuration(void) serv_puts("CONF set"); serv_gets(buf); if (buf[0] == '4') { - for (a = 0; a < 23; ++a) + for (a = 0; a < 25; ++a) serv_puts(&sc[a][0]); serv_puts("000"); }