X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=util%2Ftstres.c;h=30566a611dcdd936d12e55140c702219291453ef;hp=61f5dab0bdc001bdec0f3e6a2c29bcca9e343203;hb=e2e073b5c947e996304ed7d577497af5e9a879ee;hpb=ac13dceecd5f75669820819575daf88e0add5c8d diff --git a/util/tstres.c b/util/tstres.c index 61f5dab..30566a6 100644 --- a/util/tstres.c +++ b/util/tstres.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2011 Index Data + Copyright (C) Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -64,7 +64,7 @@ static void tst_res_read_file(void) const char *v; char path[1024]; int r; - + yaz_snprintf(path, sizeof(path), "%s/tstres.cfg", get_srcdir()); r = res_read_file(res, path); YAZ_CHECK_EQ(r, ZEBRA_OK);