- yaz_oi_set_string_oidval(&apdu->u.initRequest->otherInfo,
- odr, VAL_PROXY, 1, vhost);
+ {
+ const int *oid_proxy = yaz_string_to_oid(yaz_oid_std(),
+ CLASS_USERINFO,
+ OID_STR_PROXY);
+ yaz_oi_set_string_oid(&apdu->u.initRequest->otherInfo,
+ odr, oid_proxy, 1, vhost);
+ }