diff --git a/src/server/prot-a-output.c b/src/server/prot-a-output.c index 9292cd3d20f09e8db7c27c7e2aa4e1be10ddaecd..3efd8f452319c1f728b861a8c22d3addcf105b0a 100644 --- a/src/server/prot-a-output.c +++ b/src/server/prot-a-output.c @@ -1,5 +1,5 @@ /* - * $Id: prot-a-output.c,v 0.6 1991/11/10 19:02:26 linus Exp $ + * $Id: prot-a-output.c,v 0.7 1991/11/16 03:30:08 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,7 +28,7 @@ * Written by ceder 1990-07-13 */ -static char *rcsid = "$Id: prot-a-output.c,v 0.6 1991/11/10 19:02:26 linus Exp $"; +static char *rcsid = "$Id: prot-a-output.c,v 0.7 1991/11/16 03:30:08 ceder Exp $"; #include <kom-types.h> @@ -531,5 +531,5 @@ void prot_a_output_text_no(Connection *fp, Text_no text) { - mux_printf(fp, " %lu", text); + mux_printf(fp, " %lu", (u_long) text); } diff --git a/src/server/prot-a-output.h b/src/server/prot-a-output.h index 5704f1d60bf6b6b5c2fb41506ae55c8b177f87d3..779bc599268a33156692783a53f6c60b69611f38 100644 --- a/src/server/prot-a-output.h +++ b/src/server/prot-a-output.h @@ -1,5 +1,5 @@ /* - * $Id: prot-a-output.h,v 0.3 1991/09/15 10:30:25 linus Exp $ + * $Id: prot-a-output.h,v 0.4 1991/11/16 03:30:07 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -23,7 +23,7 @@ * Please mail bug reports to bug-lyskom@lysator.liu.se. */ /* - * $Id: prot-a-output.h,v 0.3 1991/09/15 10:30:25 linus Exp $ + * $Id: prot-a-output.h,v 0.4 1991/11/16 03:30:07 ceder Exp $ * */ extern void @@ -124,3 +124,6 @@ void prot_a_output_session_no(Connection *fp, Session_no session_no); +void +prot_a_output_text_no(Connection *fp, + Text_no text); diff --git a/src/server/prot-a.c b/src/server/prot-a.c index 5ebeb9c9bfac22875bbca7dcc922909bad183962..52dc6ac6d433e5bb57f646a44d7f1973e01d5ca8 100644 --- a/src/server/prot-a.c +++ b/src/server/prot-a.c @@ -1,5 +1,5 @@ /* - * $Id: prot-a.c,v 0.10 1991/11/11 00:27:32 ceder Exp $ + * $Id: prot-a.c,v 0.11 1991/11/16 03:30:05 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -26,7 +26,7 @@ * Protocol A. */ -static char *rcsid = "$Id: prot-a.c,v 0.10 1991/11/11 00:27:32 ceder Exp $"; +static char *rcsid = "$Id: prot-a.c,v 0.11 1991/11/16 03:30:05 ceder Exp $"; #include <stdio.h> @@ -160,6 +160,11 @@ prot_a_reply(Connection *client, prot_a_output_session_no (client, res->session_no); BUG(("=(Session_no)%d\n", res->session_no)); break; + + case rt_text_no: + prot_a_output_text_no (client, res->text_no); + BUG(("=(Text_no)%d\n", res->text_no)); + break; } mux_putc('\n', client); }