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
f10dd8b9
Commit
f10dd8b9
authored
Jun 26, 1999
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(aux_item_add_perm): Don't use find_aux_item_definition to set def if
def is already set.
parent
04dfaebc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/server/aux-items.c
src/server/aux-items.c
+3
-2
No files found.
src/server/aux-items.c
View file @
f10dd8b9
/*
* $Id: aux-items.c,v 1.2
0
1999/06/26 11:
36:28
ceder Exp $
* $Id: aux-items.c,v 1.2
1
1999/06/26 11:
55:34
ceder Exp $
* Copyright (C) 1994-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -1062,7 +1062,8 @@ aux_item_add_perm(Aux_item *item,
kom_errno
=
KOM_NO_ERROR
;
def
=
def
?
def
:
def
=
find_aux_item_definition
(
item
);
if
(
def
==
NULL
)
def
=
find_aux_item_definition
(
item
);
/* Can't create an item with no definition */
...
...
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