Commit fc4d99ca authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(set_connection_time_format): New function.

parent c0181cb3
/*
* $Id: session.c,v 0.74 2003/08/16 15:32:30 ceder Exp $
* $Id: session.c,v 0.75 2003/08/16 17:38:27 ceder Exp $
* Copyright (C) 1991-1994, 1996-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -1056,3 +1056,17 @@ user_active(void)
active_connection->flags.user_active_used = TRUE;
return OK;
}
extern Success
set_connection_time_format(int use_utc)
{
CHK_CONNECTION(FAILURE);
if (use_utc != 0 && use_utc != 1)
{
kom_errno = KOM_INDEX_OUT_OF_RANGE;
err_stat = 0;
return FAILURE;
}
active_connection->use_utc = !!use_utc;
return OK;
}
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