]> code.citadel.org Git - citadel.git/blobdiff - citadel/server_main.c
Prepared some of the authmode stuff for the imminent addition
[citadel.git] / citadel / server_main.c
index 7efb5a6096bc4984f56987f215715bf12118391e..d9c6d17e8b98f864364ed4c4f20273c2f5ef16e6 100644 (file)
@@ -211,7 +211,7 @@ int main(int argc, char **argv)
                "*** Citadel server engine v%d.%02d ***\n",
                (REV_LEVEL/100), (REV_LEVEL%100));
        CtdlLogPrintf(CTDL_NOTICE,
-               "Copyright (C) 1987-2007 by the Citadel development team.\n");
+               "Copyright (C) 1987-2008 by the Citadel development team.\n");
        CtdlLogPrintf(CTDL_NOTICE,
                "This program is distributed under the terms of the GNU "
                "General Public License.\n");
@@ -293,7 +293,7 @@ int main(int argc, char **argv)
        /*
         * If we need host auth, start our chkpwd daemon.
         */
-       if (config.c_auth_mode == 1) {
+       if (config.c_auth_mode == AUTHMODE_HOST) {
                start_chkpwd_daemon();
        }