X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=data1%2Fd1_espec.c;h=f3829be9d223c340798747bcf8bcfae686288f53;hb=dedcb702edbaed5026f1f98964ca68edcfd3cfc2;hp=4c648403853f38aea9ef44695a6af15634469027;hpb=1872e3fc60b482771bbd1cb4b0290b8d6a9ef5d0;p=idzebra-moved-to-github.git diff --git a/data1/d1_espec.c b/data1/d1_espec.c index 4c64840..f3829be 100644 --- a/data1/d1_espec.c +++ b/data1/d1_espec.c @@ -1,8 +1,5 @@ -/* $Id: d1_espec.c,v 1.14 2007-04-16 08:44:31 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -37,7 +34,7 @@ static Z_Variant *read_variant(int argc, char **argv, NMEM nmem, Z_Variant *r = (Z_Variant *)nmem_malloc(nmem, sizeof(*r)); int i; - r->globalVariantSetId = odr_oiddup_nmem(nmem, yaz_oid_variant1()); + r->globalVariantSetId = odr_oiddup_nmem(nmem, yaz_oid_varset_variant_1); if (argc) r->triples = (Z_Triple **)nmem_malloc(nmem, sizeof(Z_Triple*) * argc); else @@ -360,6 +357,7 @@ Z_Espec1 *data1_read_espec1 (data1_handle dh, const char *file) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab