Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
d3b316e2
Commit
d3b316e2
authored
Aug 22, 1998
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(foutput_text_list): Handle empty text lists properly.
parent
1978cff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/server/ram-output.c
src/server/ram-output.c
+5
-4
No files found.
src/server/ram-output.c
View file @
d3b316e2
/*
* $Id: ram-output.c,v 0.2
5
1998/0
7
/2
6 16:43:56
ceder Exp $
* $Id: ram-output.c,v 0.2
6
1998/0
8
/2
2 21:31:43
ceder Exp $
* Copyright (C) 1991, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -34,7 +34,7 @@
*/
static
const
char
*
rcsid
=
"$Id: ram-output.c,v 0.2
5
1998/0
7
/2
6 16:43:56
ceder Exp $"
;
rcsid
=
"$Id: ram-output.c,v 0.2
6
1998/0
8
/2
2 21:31:43
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -567,9 +567,10 @@ foutput_text_list(FILE *fp,
Local_text_no
end
;
first
=
l2g_next_key
(
text_list
,
0
);
if
(
first
==
0
)
first
=
1
;
end
=
l2g_first_appendable_key
(
text_list
);
if
(
first
==
0
)
first
=
end
;
foutput_ulong
((
unsigned
long
)
first
,
fp
);
foutput_ulong
((
unsigned
long
)(
end
-
first
),
fp
);
...
...
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