- inserted comments
This commit is contained in:
1
arrobj.c
1
arrobj.c
@ -155,6 +155,7 @@ static int ArrayMakeItem(void *object, void *delete, int argc,
|
||||
assert(arr);
|
||||
if (argc < 1)
|
||||
goto Usage;
|
||||
/* missing check for user privilege */
|
||||
last = &arr->items;
|
||||
for (item = arr->items; item != NULL; item = item->next) {
|
||||
if (strcasecmp(argv[0], item->name) == 0) {
|
||||
|
Reference in New Issue
Block a user