Commit 411fa5ac authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(prot_a_output_l2g_iterator_as_text_list): Don't forget to emit

	trailing zeroes in the text-list.
parent b84a402b
/*
* $Id: prot-a-output.c,v 0.34 1998/08/08 21:42:06 ceder Exp $
* $Id: prot-a-output.c,v 0.35 1998/08/09 19:05:19 ceder 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: prot-a-output.c,v 0.34 1998/08/08 21:42:06 ceder Exp $";
rcsid = "$Id: prot-a-output.c,v 0.35 1998/08/09 19:05:19 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -917,7 +917,9 @@ prot_a_output_l2g_iterator_as_text_list(Connection *fp,
mux_printf(fp, " %lu", (unsigned long)iter->tno);
++lno;
}
assert(lno == limit);
/* Write any trailing zeroes */
for (; lno < limit; ++lno)
mux_printf(fp, " 0");
mux_printf(fp, " }");
}
else
......
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