snprintf(buf, sizeof buf, "%s/.citadelrc", getenv("HOME"));
ccfile = fopen(buf, "r");
}
+ if (getenv("APPDIR") != NULL) {
+ snprintf(buf, sizeof buf, "%s/citadel.rc", getenv("APPDIR"));
+ ccfile = fopen(buf, "r");
+ }
if (ccfile == NULL) {
ccfile = fopen(file_citadel_rc, "r");
}
+ if (ccfile == NULL) {
+ ccfile = fopen("/usr/local/etc/citadel.rc", "r");
+ }
if (ccfile == NULL) {
ccfile = fopen("/etc/citadel.rc", "r");
}