+ if (attr->set && *attr->set)
+ {
+ int value = oid_getvalbyname (attr->set);
+
+ if (value != VAL_NONE)
+ {
+ int oid[OID_SIZE];
+ struct oident ident;
+
+ ident.oclass = CLASS_ATTSET;
+ ident.proto = PROTO_Z3950;
+ ident.value = value;
+ elements[i]->attributeSet =
+ odr_oiddup (o, oid_ent_to_oid (&ident, oid));
+ }
+ }