X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fmigrate%2Fserv_migrate.c;fp=citadel%2Fmodules%2Fmigrate%2Fserv_migrate.c;h=2005864a1f03f6ba4367a05098df5ddfb408f800;hp=f4c8ef7b34dab9da555244fd40354a7f14b2431c;hb=c4452ae9b7277709d61ab2a8cf0a8a0d01fa9c5b;hpb=a9e34f4f21db2a290905929e6221eb5aa79f0192 diff --git a/citadel/modules/migrate/serv_migrate.c b/citadel/modules/migrate/serv_migrate.c index f4c8ef7b3..2005864a1 100644 --- a/citadel/modules/migrate/serv_migrate.c +++ b/citadel/modules/migrate/serv_migrate.c @@ -1,7 +1,7 @@ /* * This module dumps and/or loads the Citadel database in XML format. * - * 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. @@ -464,6 +464,7 @@ void migr_do_export(void) { cprintf("%ld\n", config.c_pop3_fetch); cprintf("%ld\n", config.c_pop3_fastest); cprintf("%d\n", config.c_spam_flag_only); + cprintf("%d\n", config.c_nntp_port); client_write("\n", 10); /* Export the control file */ @@ -642,6 +643,7 @@ int migr_config(void *data, const char *el) else if (!strcasecmp(el, "c_pop3_fetch")) config.c_pop3_fetch = atol(ChrPtr(migr_chardata)); else if (!strcasecmp(el, "c_pop3_fastest")) config.c_pop3_fastest = atol(ChrPtr(migr_chardata)); else if (!strcasecmp(el, "c_spam_flag_only")) config.c_spam_flag_only = atoi(ChrPtr(migr_chardata)); + else if (!strcasecmp(el, "c_nntp_port")) config.c_nntp_port = atoi(ChrPtr(migr_chardata)); else return 0; return 1; /* Found above...*/ }