X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontrol.c;h=0aba124044914bd9b1a2619d21933924ef5999f0;hb=6050cb23108ee10dafcceb65b9cafab51c013ae0;hp=f543e8d4382acd29c845b5adb82a3aaf8ca5b9cc;hpb=4e9952daf6d736348f34fa1e02f33a568d25d894;p=citadel.git diff --git a/citadel/control.c b/citadel/control.c index f543e8d43..0aba12404 100644 --- a/citadel/control.c +++ b/citadel/control.c @@ -1,7 +1,7 @@ /* * This module handles states which are global to the entire server. * - * 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. @@ -387,6 +387,8 @@ void cmd_conf(char *argbuf) cprintf("%d\n", config.c_guest_logins); cprintf("%d\n", config.c_port_number); cprintf("%d\n", config.c_ctdluid); + cprintf("%d\n", config.c_nntp_port); + cprintf("%d\n", config.c_nntps_port); cprintf("000\n"); } @@ -657,6 +659,12 @@ void cmd_conf(char *argbuf) case 69: config.c_ctdluid = atoi(buf); break; + case 70: + config.c_nntp_port = atoi(buf); + break; + case 71: + config.c_nntp_port = atoi(buf); + break; } ++a; }