- (pext = p->list[i]->information.externallyDefinedInfo)) {
-
- int oclass;
- const char *name = yaz_oid_to_string(yaz_oid_std(),
- pext->direct_reference,
- &oclass);
-
- if (oclass == CLASS_NEGOT
- && name && !strcmp(name, OID_STR_CHARNEG_3)
+ (pext = p->list[i]->information.externallyDefinedInfo))
+ {
+ if (!oid_oidcmp(pext->direct_reference, yaz_oid_negot_charset_3)