- t->term->u.general = o =
- (Odr_oct *)odr_malloc(assoc->encode, sizeof(Odr_oct));
- o->buf = (char *)
- odr_malloc(assoc->encode, o->len =
- strlen(bsrr->entries[i].term));
-#if OCT_SIZE
- o->size = o->len;
-#endif
- memcpy(o->buf, bsrr->entries[i].term, o->len);
+ t->term->u.general =
+ odr_create_Odr_oct(assoc->encode,
+ bsrr->entries[i].term,
+ strlen(bsrr->entries[i].term));