X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Felementset.c;h=2cee5555acb3c1b567c0b10fd6edb757a8f1ea23;hp=0915d86344df5174d61c5f63795beca934c27fcc;hb=916ddaa16e2fe4f4bd649b463be12e7854f98dc8;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/src/elementset.c b/src/elementset.c index 0915d86..2cee555 100644 --- a/src/elementset.c +++ b/src/elementset.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2013 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));