X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Felementset.c;h=2cee5555acb3c1b567c0b10fd6edb757a8f1ea23;hp=ae46836eba8f003fd3d8938a2cfd6248a5e0dec5;hb=fcea26f3542a6097ad258cdbb6e57565366d5f35;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/elementset.c b/src/elementset.c index ae46836..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-2010 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));