Commit f10dd8b9 authored by Per Cederqvist's avatar Per Cederqvist

(aux_item_add_perm): Don't use find_aux_item_definition to set def if

	def is already set.
parent 04dfaebc
/*
* $Id: aux-items.c,v 1.20 1999/06/26 11:36:28 ceder Exp $
* $Id: aux-items.c,v 1.21 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 */
......
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