projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #598: Allow missingValueAction to be specified for sortSpec
[yaz-moved-to-github.git]
/
test
/
tstlog.c
diff --git
a/test/tstlog.c
b/test/tstlog.c
index
dcb87d3
..
e93a22e
100644
(file)
--- 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.
*
* 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 <stdio.h>
*
*/
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include <yaz/options.h>
#include <yaz/log.h>
#include <stdlib.h>
#include <yaz/options.h>
#include <yaz/log.h>
@@
-55,7
+56,7
@@
int main(int argc, char **argv)
wait_between_log = atoi(arg);
break;
case 'H':
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<number; i++)
break;
case 0:
for (i = 0; i<number; i++)