Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
499b8f54
Commit
499b8f54
authored
Aug 02, 1996
by
Per Cederqvist
Browse files
(init_connection): Set active_time to now. Don't set last_request.
(new_client): Likewise.
parent
aeac9a44
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/internal-connections.c
View file @
499b8f54
/*
* $Id: internal-connections.c,v 0.2
6
1996/0
7/28 23:43:29
ceder Exp $
* $Id: internal-connections.c,v 0.2
7
1996/0
8/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.2
6
1996/0
7/28 23:43:29
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: internal-connections.c,v 0.2
7
1996/0
8/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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment