X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftstlog.c;h=e93a22ef3b637878e4f9112e6fffc2b1dd4859df;hp=dcb87d3309481cca880e9d6fd9f819f90c441d5f;hb=d168db0590bc858a1bc9bd5a6ea66abbcd8f7d7d;hpb=56f715bb23c31ea1f8a551e7f1f9b58a10bafbad diff --git a/test/tstlog.c b/test/tstlog.c index dcb87d3..e93a22e 100644 --- a/test/tstlog.c +++ b/test/tstlog.c @@ -2,10 +2,11 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: tstlog.c,v 1.9 2006-03-21 12:32:16 adam Exp $ + * $Id: tstlog.c,v 1.10 2006-03-21 12:54:02 adam Exp $ * */ #include +#include #include #include #include @@ -55,7 +56,7 @@ int main(int argc, char **argv) wait_between_log = atoi(arg); break; case 'H': - log_event_start(hook_func, 0); + yaz_log_set_handler(hook_func, 0); break; case 0: for (i = 0; i