Meow meow! Applied patches sent by LadySerenaKitty for improved FreeBSD compatibility.
[citadel.git] / textclient / commands.c
index 81fef751a9bc017b1b6c4c499292f6df9ebe6e7d..c2f9f77bd0ce882f4bae8a2eebafbcad0a318de6 100644 (file)
@@ -939,6 +939,9 @@ void load_command_set(void)
        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");
        }