Prepared some of the authmode stuff for the imminent addition
[citadel.git] / citadel / server_main.c
index a0d7b31f742a0ed1a19d52d7bd18fdd35a8b3d64..d9c6d17e8b98f864364ed4c4f20273c2f5ef16e6 100644 (file)
@@ -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();
        }