Skip to content
Snippets Groups Projects
Commit ed2e7a8b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

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

	instead of an array of int.  Adjust the code accordingly.
parent d5627e11
Branches
Tags
No related merge requests found
/* /*
* $Id: send-async.c,v 0.16 1996/07/26 00:41:11 ceder Exp $ * $Id: send-async.c,v 0.17 1996/07/28 12:46:31 ceder Exp $
* Copyright (C) 1991, 1993, 1994, 1995 Lysator Academic Computer Association. * Copyright (C) 1991, 1993, 1994, 1995 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* Written by Per Cederqvist 1990-07-22--23 * Written by Per Cederqvist 1990-07-22--23
*/ */
static char *rcsid = "$Id: send-async.c,v 0.16 1996/07/26 00:41:11 ceder Exp $"; static char *rcsid = "$Id: send-async.c,v 0.17 1996/07/28 12:46:31 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -352,7 +352,7 @@ async_send_group_message(Pers_no recipient, ...@@ -352,7 +352,7 @@ async_send_group_message(Pers_no recipient,
Connection *cptr; Connection *cptr;
Session_no i = 0; Session_no i = 0;
Success retval = FAILURE; Success retval = FAILURE;
int tmp; Bool tmp = FALSE;
if (!param.send_async_messages) if (!param.send_async_messages)
return FAILURE; return FAILURE;
...@@ -378,7 +378,7 @@ async_send_group_message(Pers_no recipient, ...@@ -378,7 +378,7 @@ async_send_group_message(Pers_no recipient,
if (force_message) if (force_message)
{ {
tmp = cptr->want_async[ay_send_message]; tmp = cptr->want_async[ay_send_message];
cptr->want_async[ay_send_message] = 1; cptr->want_async[ay_send_message] = TRUE;
} }
prot_a_async_send_message(cptr, group_recipient, prot_a_async_send_message(cptr, group_recipient,
sender, message); sender, message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment