X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Felementset.c;h=1f3e15a7da015af6a376f29cbbeb526356e5498c;hp=07400c756c124a7f7f5f5c529641e49e8b782b72;hb=5564216deccb49e138f665e223c81fe6c1edd79d;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/src/elementset.c b/src/elementset.c index 07400c7..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));