}
}
- // If half keepalives are enabled, send a QNOP to the server (if the
- // server supports it) and then do nothing.
- if ((keepalives_enabled == KA_HALF)
- && (ipc_for_signal_handlers->ServInfo.supports_qnop > 0)) {
+ // If half keepalives are enabled, send a QNOP to the server, then do nothing.
+ if (keepalives_enabled == KA_HALF) {
CtdlIPC_chat_send(ipc_for_signal_handlers, "QNOP");
}
}
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");
}