summaryrefslogtreecommitdiffstats
path: root/common/elapi/elapi_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/elapi/elapi_event.c')
-rw-r--r--common/elapi/elapi_event.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/common/elapi/elapi_event.c b/common/elapi/elapi_event.c
index 9322f8217..fe3b3a5e3 100644
--- a/common/elapi/elapi_event.c
+++ b/common/elapi/elapi_event.c
@@ -732,11 +732,12 @@ static int process_arg_list(struct collection_item *col,
else {
/* Remove case */
while (error != ENOENT) {
- error = col_delete_property(col,
- propcopy,
- COL_TYPE_ANY,
- COL_TRAVERSE_DEFAULT);
-
+ error = col_remove_item(col,
+ NULL,
+ COL_DSP_FIRSTDUP,
+ propcopy,
+ 0,
+ COL_TYPE_ANY);
if ((error) && (error != ENOENT)) {
TRACE_ERROR_STRING("Error deleting property", propcopy);
free(propcopy);