X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ftest_start_stop.c;h=7659202178b6566b5ea9cb300c6c9729255475cd;hb=250de4ed23a44f5eb3552db317eef0d0fbe3265c;hp=d582cd16d436c553694877caa7bfc645382c655d;hpb=6a0f9234f945bc4956e2bcef75f715661a9eba9a;p=idzebra-moved-to-github.git diff --git a/test/api/test_start_stop.c b/test/api/test_start_stop.c index d582cd1..7659202 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-2009 Index Data + Copyright (C) 2004-2013 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)); } }