* Removed "Log Hooks." This enabled the removal of a buf[SIZ] in lprintf,
[citadel.git] / citadel / serv_test.c
index afee1effa00bd1f08e60da3c362cf2a674545539..f3bf3c59cdb12f2c8d0133ad260fb2d4d1934f0a 100644 (file)
@@ -65,12 +65,6 @@ void LoginTest(void) {
        lprintf(CTDL_DEBUG, "--- Hello, %s ---\n", CC->curr_user);
        }
 
-void LogTest(char *buf) {
-       fprintf(stderr,"%c[1m%s%c[0m", 27, buf, 27);
-       fflush(stderr);
-       }
-
-
 char *serv_test_init(void)
 {
    CtdlRegisterCleanupHook(CleanupTest);
@@ -78,6 +72,5 @@ char *serv_test_init(void)
    CtdlRegisterSessionHook(SessionStartTest, EVT_START);
    CtdlRegisterSessionHook(SessionStopTest, EVT_STOP);
    CtdlRegisterSessionHook(LoginTest, EVT_LOGIN);
-   CtdlRegisterLogHook(LogTest, 1);
    return "$Id$";
 }