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

(init_connection): Initialize the schedule.

parent d0bc7cbc
/* /*
* $Id: internal-connections.c,v 0.60 2003/08/06 22:04:17 ceder Exp $ * $Id: internal-connections.c,v 0.61 2003/08/14 23:01:41 ceder Exp $
* Copyright (C) 1991-1994, 1996-2002 Lysator Academic Computer Association. * Copyright (C) 1991-1994, 1996-2002 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -163,6 +163,9 @@ init_connection(Connection *conn) ...@@ -163,6 +163,9 @@ init_connection(Connection *conn)
conn->queue_prev = NULL; conn->queue_prev = NULL;
conn->on_queue = FALSE; conn->on_queue = FALSE;
conn->schedule.priority = 0;
conn->schedule.weight = 1;
conn->active_time = current_time; conn->active_time = current_time;
conn->session_no = 0; conn->session_no = 0;
......
Supports Markdown
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