if (cfp == NULL) {
fprintf(stderr, "This program could not be started.\n"
"Unable to open %s/citadel.config\n"
if (cfp == NULL) {
fprintf(stderr, "This program could not be started.\n"
"Unable to open %s/citadel.config\n"
perror("citadel.config");
else {
fwrite((char *) &config, sizeof(struct config), 1, cfp);
perror("citadel.config");
else {
fwrite((char *) &config, sizeof(struct config), 1, cfp);