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=a821a172c6245b237577d16e966b387d8591477c;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hpb=89d16cf15eda0e4802d18b8ad09bd3653508ebfc diff --git a/test/api/test_start_stop.c b/test/api/test_start_stop.c index a821a17..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-2009 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)); } } @@ -44,6 +47,7 @@ TL_MAIN /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab