X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Felementset.c;h=1f3e15a7da015af6a376f29cbbeb526356e5498c;hp=c50cb5e1a3f25cbf9ff4df23c08655c0390f6b29;hb=5e0171c5568e93a00cad52e4187b9b28e8bacbf1;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a diff --git a/src/elementset.c b/src/elementset.c index c50cb5e..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-2012 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));