Example #1
0
static void
Dump_State(void)
{
    Log(LOG_DEBUG, "--- Internal server state: %s ---",
        Client_ID(Client_ThisServer()));
    Log(LOG_DEBUG, "time()=%ld", time(NULL));
    Conf_DebugDump();
    Conn_DebugDump();
    Client_DebugDump();
    Log(LOG_DEBUG, "--- End of state dump ---");
} /* Dump_State */
Example #2
0
static void
Dump_State(void)
{
	Log(LOG_DEBUG, "--- Internal server state: %s ---",
	    Client_ID(Client_ThisServer()));
#ifdef HAVE_LONG_LONG
	Log(LOG_DEBUG, "time()=%llu", (unsigned long long)time(NULL));
#else
	Log(LOG_DEBUG, "time()=%lu", (unsigned long)time(NULL));
#endif
	Conf_DebugDump();
	Conn_DebugDump();
	Client_DebugDump();
	Log(LOG_DEBUG, "--- End of state dump ---");
} /* Dump_State */