- inserted comments

This commit is contained in:
zolliker
2013-10-16 12:46:44 +00:00
parent ec8a3a7bc4
commit f0872ae16b

View File

@ -155,6 +155,7 @@ static int ArrayMakeItem(void *object, void *delete, int argc,
assert(arr); assert(arr);
if (argc < 1) if (argc < 1)
goto Usage; goto Usage;
/* missing check for user privilege */
last = &arr->items; last = &arr->items;
for (item = arr->items; item != NULL; item = item->next) { for (item = arr->items; item != NULL; item = item->next) {
if (strcasecmp(argv[0], item->name) == 0) { if (strcasecmp(argv[0], item->name) == 0) {