- fprintf( stderr,
- "ERROR: cannot delete object (%i, %s) with children\n",
- p_this->i_object_id, p_this->psz_object_name );
+ int i;
+
+ fprintf( stderr, "ERROR: cannot delete object (%i, %s) with %d children\n",
+ p_this->i_object_id, p_this->psz_object_name, p_this->i_children );
+
+ for( i = 0; i < p_this->i_children; i++ )
+ {
+ fprintf( stderr, "ERROR: Remaining children object (id:%i, type:%s, name:%s)\n",
+ p_this->pp_children[i]->i_object_id,
+ p_this->pp_children[i]->psz_object_type,
+ p_this->pp_children[i]->psz_object_name );
+ }