X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Futils%2Fsetup.c;h=bb7f542dec09c2fe53248fba5d6f65df9b64386d;hb=a1569587b8bb37d938d476ed6010e28b310a1f68;hp=b5775fa26bd95952cc0a0f63fadfe490f7fdc717;hpb=8f337e674f59cedc85f5bf00018a1315eecf6ba1;p=citadel.git diff --git a/citadel/utils/setup.c b/citadel/utils/setup.c index b5775fa26..bb7f542de 100644 --- a/citadel/utils/setup.c +++ b/citadel/utils/setup.c @@ -1,7 +1,7 @@ /* * Citadel setup utility * - * Copyright (c) 1987-2012 by the citadel.org team + * Copyright (c) 1987-2014 by the citadel.org team * * This program is open source software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 3. @@ -334,7 +334,8 @@ void important_message(const char *title, const char *msgtext) printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); printf(" %s \n\n%s\n\n", title, msgtext); printf("%s", _("Press return to continue...")); - if (fgets(buf, sizeof buf, stdin)); + if (fgets(buf, sizeof buf, stdin)) + ; break; case UI_DIALOG: @@ -1146,6 +1147,8 @@ void set_default_values(void) GetDefaultVALINT(c_managesieve_port, 2020); GetDefaultVALINT(c_xmpp_c2s_port, 5222); GetDefaultVALINT(c_xmpp_s2s_port, 5269); + GetDefaultVALINT(c_nntp_port, 119); + GetDefaultVALINT(c_nntps_port, 563); #endif } @@ -1220,8 +1223,7 @@ int main(int argc, char *argv[]) enable_home = ( relh | home ); if (chdir(ctdl_run_dir) != 0) { - display_error(_("Citadel Setup"), - "%s: [%s]\n", + display_error("%s: [%s]\n", _("The directory you specified does not exist"), ctdl_run_dir); exit(errno);