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
526812a0
Commit
526812a0
authored
Aug 30, 1998
by
Per Cederqvist
Browse files
(query_predefined_aux_items): Added a missing statement so that the
next link is followed, avoiding a crash.
parent
4d2a0043
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/aux-items.c
View file @
526812a0
/*
* $Id: aux-items.c,v 1.
4
1998/0
7/08 16:11:37
ceder Exp $
* $Id: aux-items.c,v 1.
5
1998/0
8/30 15:25:55
ceder Exp $
* Copyright (C) 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -31,6 +31,7 @@
# include <string.h>
#endif
#include
<setjmp.h>
#include
<assert.h>
#include
"kom-types.h"
#include
"manipulate.h"
...
...
@@ -1157,9 +1158,11 @@ query_predefined_aux_items(Number_list *result)
{
if
(
def
->
tag
!=
0
)
{
assert
(
result
->
length
<
num_aux_item_definitions
);
result
->
data
[
result
->
length
]
=
def
->
tag
;
result
->
length
+=
1
;
}
def
=
def
->
next
;
}
return
OK
;
...
...
Write
Preview
Supports
Markdown
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