X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fcontrol.c;fp=citadel%2Fcontrol.c;h=0bc49456ec9722722f507099fc9a75cec67c5e7c;hp=f543e8d4382acd29c845b5adb82a3aaf8ca5b9cc;hb=c4452ae9b7277709d61ab2a8cf0a8a0d01fa9c5b;hpb=a9e34f4f21db2a290905929e6221eb5aa79f0192 diff --git a/citadel/control.c b/citadel/control.c index f543e8d43..0bc49456e 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,7 @@ 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("000\n"); } @@ -657,6 +658,9 @@ void cmd_conf(char *argbuf) case 69: config.c_ctdluid = atoi(buf); break; + case 70: + config.c_nntp_port = atoi(buf); + break; } ++a; }