X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=ztest%2Fdummy-opac.c;h=eeab43d29b970396fb2f005c5bb7bc05454abafa;hp=50af0434f1ed4223488ce8a792785f43e120af5a;hb=935b1ba0c2c3dc480b0afcb3673abe2ef2dd893f;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/ztest/dummy-opac.c b/ztest/dummy-opac.c index 50af043..eeab43d 100644 --- a/ztest/dummy-opac.c +++ b/ztest/dummy-opac.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ /** \file @@ -9,7 +9,6 @@ #include #endif -#include #include #include #include @@ -32,11 +31,11 @@ Z_OPACRecord *dummy_opac(int num, ODR odr, const char *marc_input) odr_malloc(odr, sizeof(*hr)); Z_HoldingsAndCircData *hc = (Z_HoldingsAndCircData *) odr_malloc(odr, sizeof(*hc)); - + rec->holdingsData[i] = hr; hr->which = Z_HoldingsRecord_holdingsAndCirc; hr->u.holdingsAndCirc = hc; - + hc->typeOfRecord = "u"; hc->encodingLevel = "u"; @@ -47,7 +46,7 @@ Z_OPACRecord *dummy_opac(int num, ODR odr, const char *marc_input) hc->completeness = 0; /* OPT */ hc->dateOfReport = "000000"; hc->nucCode = "s-FM/GC"; - hc->localLocation = + hc->localLocation = "Main or Science/Business Reading Rms - STORED OFFSITE"; hc->shelvingLocation = 0; /* OPT */ hc->callNumber = "MLCM 89/00602 (N)";