X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft13.c;h=d0d77306f26453c78954d6941bcd5f963fbc010d;hb=46c0e649af38cec11668a4a15ab10915b06ccbc1;hp=ee5d7f30fda3ab33798ff7102a3a9551a2f5901d;hpb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e;p=idzebra-moved-to-github.git diff --git a/test/api/t13.c b/test/api/t13.c index ee5d7f3..d0d7730 100644 --- a/test/api/t13.c +++ b/test/api/t13.c @@ -1,5 +1,5 @@ -/* $Id: t13.c,v 1.8 2006-05-10 08:13:35 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: t13.c,v 1.13 2007-03-13 13:46:11 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ /** test resources */ @@ -83,7 +83,7 @@ static void tst_no_config(void) static char *xml_buf = "myx"; ZebraService zs; ZebraHandle zh; - SYSNO sysno = 0; + zint sysno = 0; zs = zebra_start_res(0, 0, 0); YAZ_CHECK(zs); @@ -102,7 +102,7 @@ static void tst_no_config(void) &sysno, 0 /* match */, 0 /* fname */, xml_buf, strlen(xml_buf), - 0 /* force_update */), + 1 /* force_update */), ZEBRA_OK); zebra_close(zh); @@ -111,7 +111,6 @@ static void tst_no_config(void) static void tst(int argc, char **argv) { - tl_start_log(argc, argv); tst_res(); tst_no_config(); }