X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Felementset.c;h=1f3e15a7da015af6a376f29cbbeb526356e5498c;hp=f8c65366a95502f7bf2fea3d26fac79a4abce5fe;hb=HEAD;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7 diff --git a/src/elementset.c b/src/elementset.c index f8c6536..1f3e15a 100644 --- a/src/elementset.c +++ b/src/elementset.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ /** @@ -33,7 +33,7 @@ void yaz_set_esn(Z_RecordComposition **comp_p, const char *esn, NMEM nmem) { Z_RecordComposition *comp = (Z_RecordComposition *) nmem_malloc(nmem, sizeof(*comp)); - + comp->which = Z_RecordComp_simple; comp->u.simple = (Z_ElementSetNames *) nmem_malloc(nmem, sizeof(*comp->u.simple)); @@ -47,6 +47,7 @@ void yaz_set_esn(Z_RecordComposition **comp_p, const char *esn, NMEM nmem) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab