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
29818146
Commit
29818146
authored
Jul 27, 1998
by
David Byers
Browse files
Bugfixar
parent
f71863a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/server/prot-a-send-async.c
View file @
29818146
/*
* $Id: prot-a-send-async.c,v 0.1
7
1998/07/
08 13:41:56 ced
er Exp $
* $Id: prot-a-send-async.c,v 0.1
8
1998/07/
27 15:22:53 by
er
s
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.1
7
1998/07/
08 13:41:56 ced
er Exp $"
;
rcsid
=
"$Id: prot-a-send-async.c,v 0.1
8
1998/07/
27 15:22:53 by
er
s
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
,
1
6
,
ay_new_text
);
async_header
(
cptr
,
1
8
,
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
);
}
...
...
src/server/text.c
View file @
29818146
/*
* $Id: text.c,v 0.5
0
1998/07/2
6
1
6:42:24 ced
er Exp $
* $Id: text.c,v 0.5
1
1998/07/2
7
1
5:22:45 by
er
s
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.5
0
1998/07/2
6
1
6:42:24 ced
er Exp $"
;
rcsid
=
"$Id: text.c,v 0.5
1
1998/07/2
7
1
5:22:45 by
er
s
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
;
}
...
...
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