Commit 41de5925 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(Connection): Change the type of the session_start and active_time

	fields from time_t to struct timeval.
parent 42c33528
/*
* $Id: connections.h,v 0.58 2003/07/12 00:17:33 ceder Exp $
* $Id: connections.h,v 0.59 2003/07/12 21:28:28 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: connections.h,v 0.58 2003/07/12 00:17:33 ceder Exp $
* $Id: connections.h,v 0.59 2003/07/12 21:28:28 ceder Exp $
*
* connections.h -- The top level of the communication packet.
*
......@@ -85,7 +85,7 @@ typedef struct connection {
Pers_no pers_no; /* 0 if not yet logged in. */
Person * person; /* NULL if not yet logged in. */
time_t session_start; /* the time when the current session
struct timeval session_start; /* the time when the current session
was started */
Conf_no cwc; /* Current working conference */
String what_am_i_doing;
......@@ -172,7 +172,7 @@ typedef struct connection {
struct connection *queue_next;
Bool on_queue;
time_t active_time; /* Set every time the client sends
struct timeval active_time; /* Set every time the client sends
user_active. */
Session_no session_no; /* A unique number. */
......
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