Skip to content
GitLab
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
411fa5ac
Commit
411fa5ac
authored
Aug 09, 1998
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/prot-a-output.c
View file @
411fa5ac
/*
* $Id: prot-a-output.c,v 0.3
4
1998/08/0
8 21:42:06
ceder Exp $
* $Id: prot-a-output.c,v 0.3
5
1998/08/0
9 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.3
4
1998/08/0
8 21:42:06
ceder Exp $"
;
rcsid
=
"$Id: prot-a-output.c,v 0.3
5
1998/08/0
9 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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