X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ftest_start_stop.c;h=2fa94aaadb07fed27c3f4fbb24d9f48da6d18b8e;hb=0e8272b3d5a18a0695f8c7a58617caa0ad938059;hp=8ab500c8b2bed865bebd2a10af9251106fc3857e;hpb=a030c87bc444608639905eca95e29f84a4f1d991;p=idzebra-moved-to-github.git diff --git a/test/api/test_start_stop.c b/test/api/test_start_stop.c index 8ab500c..2fa94aa 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-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 @@ -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)); } }