X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=textclient%2Ftuiconfig.c;h=80f0c94feb06a93b0c2040f74e368790f79d3400;hb=HEAD;hp=ee6006b92ba5678f738332dd1523c99a85dc2559;hpb=545fc1a847d9401923ef312f995d4f385da84e56;p=citadel.git diff --git a/textclient/tuiconfig.c b/textclient/tuiconfig.c index ee6006b92..28a10ed15 100644 --- a/textclient/tuiconfig.c +++ b/textclient/tuiconfig.c @@ -2,13 +2,7 @@ // // Copyright (c) 1987-2022 by the citadel.org team // -// This program is open source software. Use, duplication, and/or -// disclosure is subject to the GNU General Purpose License version 3. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// This program is open source software. Use, duplication, or disclosure is subject to the GNU General Public License version 3. #include "textclient.h" @@ -108,6 +102,7 @@ void do_system_configuration(CtdlIPC * ipc) { strprompt("SMTP MTA server port (-1 to disable)", &sc[24][0], 5); strprompt("SMTP MSA server port (-1 to disable)", &sc[38][0], 5); strprompt("SMTPS server port (-1 to disable)", &sc[41][0], 5); + snprintf(sc[72], sizeof sc[72], "%d", (boolprompt("Advertise STARTTLS on the SMTP port", atoi(&sc[72][0])))); strprompt("NNTP server port (-1 to disable)", &sc[70][0], 5); strprompt("NNTPS server port (-1 to disable)", &sc[71][0], 5); strprompt("Postfix TCP Dictionary Port server port (-1 to disable)", &sc[50][0], 5);