4 * 5.80 to 5.90 migration utility for network files
16 extern struct config config;
23 int main(int argc, char **argv)
30 "This utility migrates your network settings (room sharing with other\n"
31 "Citadel systems) from 5.80 to 5.90. You should only do this ONCE. It\n"
32 "will ERASE your 5.80 configuration files when it is finished, and it will\n"
33 "ERASE any 5.90 configuration files that you have already set up.\n\n"
34 "Are you sure you want to do this? ");
37 if (tolower(buf[0]) != 'y') exit(0);
41 attach_to_server(argc, argv, hostbuf, portbuf);
43 printf("%s\n", &buf[4]);
44 if ((buf[0]!='2')&&(strncmp(buf,"551",3))) {
45 fprintf(stderr,"%s: %s\n",argv[0],&buf[4]);
52 fprintf(stderr, "%s\n", &buf[4]);
58 printf("FIXME not finished yet\n");