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

(init_connection): Connection::want_async is now an array of Bool

	instead of an array of int.  Adjust the code accordingly.
parent 51b74f91
/*
* $Id: internal-connections.c,v 0.23 1996/07/26 00:35:28 ceder Exp $
* $Id: internal-connections.c,v 0.24 1996/07/28 12:43:11 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.23 1996/07/26 00:35:28 ceder Exp $";
static char *rcsid = "$Id: internal-connections.c,v 0.24 1996/07/28 12:43:11 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -122,12 +122,12 @@ init_connection(Connection *conn)
conn->num_list.data = NULL;
for (i = 0; i < ay_dummy_last; i++)
conn->want_async[i] = 0;
conn->want_async[i] = FALSE;
for (i = 0;
i < sizeof(default_want_async)/sizeof(*default_want_async);
i++)
conn->want_async[default_want_async[i]] = 1;
conn->want_async[default_want_async[i]] = TRUE;
init_priv_bits(&conn->priv_bits);
init_conf_type(&conn->conf_type);
......
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