Commit 499b8f54 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(init_connection): Set active_time to now. Don't set last_request.

(new_client): Likewise.
parent aeac9a44
/*
* $Id: internal-connections.c,v 0.26 1996/07/28 23:43:29 ceder Exp $
* $Id: internal-connections.c,v 0.27 1996/08/02 00:01:12 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* Abstract routines on the data type Connection.
*/
static char *rcsid = "$Id: internal-connections.c,v 0.26 1996/07/28 23:43:29 ceder Exp $";
static char *rcsid = "$Id: internal-connections.c,v 0.27 1996/08/02 00:01:12 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -107,7 +107,7 @@ init_connection(Connection *conn)
conn->unparsed = EMPTY_STRING;
conn->first_to_parse = 0;
conn->more_to_parse = FALSE;
conn->last_request = NO_TIME;
conn->active_time = time(NULL);
conn->session_no = 0;
conn->info.pers_pres_conf = 0;
......@@ -173,7 +173,7 @@ new_client(void)
c->unparsed = EMPTY_STRING;
c->first_to_parse = 0;
c->more_to_parse = TRUE;
c->last_request = NO_TIME;
c->active_time = time(NULL);
c->pers_no = 0;
c->person = NULL;
time( & c->session_start );
......
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