Commit 29818146 authored by David Byers's avatar David Byers

Bugfixar

parent f71863a4
/*
* $Id: prot-a-send-async.c,v 0.17 1998/07/08 13:41:56 ceder Exp $
* $Id: prot-a-send-async.c,v 0.18 1998/07/27 15:22:53 byers Exp $
* Copyright (C) 1991, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -27,7 +27,7 @@
*/
static const char *
rcsid = "$Id: prot-a-send-async.c,v 0.17 1998/07/08 13:41:56 ceder Exp $";
rcsid = "$Id: prot-a-send-async.c,v 0.18 1998/07/27 15:22:53 byers Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -90,9 +90,9 @@ prot_a_async_new_text(Connection *cptr,
Text_stat *text_s)
{
ASYNC_CHECK_ACCEPT(cptr, ay_new_text);
async_header(cptr, 16, ay_new_text);
async_header(cptr, 18, ay_new_text);
mux_printf(cptr, " %lu", text_no);
prot_a_output_text_stat_old(cptr, text_s);
prot_a_output_text_stat(cptr, text_s);
async_trailer(cptr);
}
......
/*
* $Id: text.c,v 0.50 1998/07/26 16:42:24 ceder Exp $
* $Id: text.c,v 0.51 1998/07/27 15:22:45 byers Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -29,7 +29,7 @@
*/
static const char *
rcsid = "$Id: text.c,v 0.50 1998/07/26 16:42:24 ceder Exp $";
rcsid = "$Id: text.c,v 0.51 1998/07/27 15:22:45 byers Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -2237,8 +2237,12 @@ create_text_old(const String message,
text = do_create_text(message, no_of_misc, misc, NULL, FALSE, &t_stat);
if (text != 0)
{
send_async_new_text_old (text,
t_stat); /* Send asynchronous message. */
send_async_new_text (text,
t_stat); /* Send asynchronous message. */
}
return text;
}
......@@ -2255,7 +2259,10 @@ create_text(const String message,
text = do_create_text(message, no_of_misc, misc, aux, FALSE, &t_stat);
if (text != 0)
{
send_async_new_text_old (text, t_stat); /* Send asynchronous message.*/
send_async_new_text (text, t_stat); /* Send asynchronous message. */
}
return text;
}
......@@ -2282,7 +2289,10 @@ create_anonymous_text(const String message,
text = do_create_text(message, no_of_misc, misc, aux, TRUE, &t_stat);
if (text != 0)
{
send_async_new_text_old (text, t_stat);
send_async_new_text (text, t_stat);
}
return text;
}
......@@ -2298,7 +2308,10 @@ create_anonymous_text_old(const String message,
text = do_create_text(message, no_of_misc, misc, NULL, TRUE, &t_stat);
if (text != 0)
{
send_async_new_text_old (text, t_stat);
send_async_new_text (text, t_stat);
}
return text;
}
......
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