X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fapi%2Ftest_start_stop.c;h=0f0488d47b515423386c6a2bcef4bca86ae5e10d;hp=32424d7bee35829886d5f23f9ddf795505ee69a6;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hpb=a66b7d79383ae700f3358731eecfe2aafed0e90d diff --git a/test/api/test_start_stop.c b/test/api/test_start_stop.c index 32424d7..0f0488d 100644 --- a/test/api/test_start_stop.c +++ b/test/api/test_start_stop.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2010 Index Data + Copyright (C) 1994-2011 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 @@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include "testlib.h" @@ -26,7 +29,7 @@ static void tst(int argc, char **argv) { ZebraService zs = tl_start_up(0, argc, argv); - ZebraHandle zh = 0; + ZebraHandle zh = 0; YAZ_CHECK(zs); if (zs) @@ -34,7 +37,7 @@ static void tst(int argc, char **argv) zh = zebra_open(zs, 0); YAZ_CHECK(zh); } - + YAZ_CHECK(tl_close_down(zh, zs)); } }