Commit 5e48b62e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(set_time): Log how much the time moves backwards when it moves backwards.

parent 5b520155
/*
* $Id: connections.c,v 0.123 2003/08/16 11:29:03 ceder Exp $
* $Id: connections.c,v 0.124 2003/08/17 12:56:18 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -200,7 +200,8 @@ set_time(void)
if (timeval_less(current_time, last_time))
{
kom_log("WARNING: Time is moving in the wrong direction.\n");
kom_log("WARNING: Time moved backward at least %g seconds.",
timeval_diff_d(last_time, current_time));
/* FIXME (bug 62): Should we take more decisive action here? */
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment