X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Felementset.c;h=2cee5555acb3c1b567c0b10fd6edb757a8f1ea23;hp=3e453d58f8c049c6b961f395f931c50058621d12;hb=d2ed898832ae354c17254ff52c70c92278518efe;hpb=fe507b6b15788a3a8e58063d9dae52532a5229a5 diff --git a/src/elementset.c b/src/elementset.c index 3e453d5..2cee555 100644 --- a/src/elementset.c +++ b/src/elementset.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. - * - * $Id: elementset.c,v 1.4 2007-05-06 20:12:20 adam Exp $ */ /** * \file elementset.c @@ -35,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)); @@ -49,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