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
Towards 2.1.44. Bump copyright year.
[yaz-moved-to-github.git]
/
test
/
tstlog.c
diff --git
a/test/tstlog.c
b/test/tstlog.c
index
e93a22e
..
5364b63
100644
(file)
--- a/
test/tstlog.c
+++ b/
test/tstlog.c
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (C) 1995-2005, Index Data ApS
+ * Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: tstlog.c,v 1.10 2006-03-21 12:54:02 adam Exp $
+ * $Id: tstlog.c,v 1.12 2007-01-03 08:42:16 adam Exp $
*
*/
#include <stdio.h>
*
*/
#include <stdio.h>
@@
-27,11
+27,11
@@
int main(int argc, char **argv)
int number = 1;
unsigned int wait_between_log = 0;
int number = 1;
unsigned int wait_between_log = 0;
- while ((ret = options("f:v:l:m:n:s:w:Hh", argv, argc, &arg)) != -2)
+ while ((ret = options("f:v:l:m:n:r:w:Hh", argv, argc, &arg)) != -2)
{
switch (ret)
{
{
switch (ret)
{
- case 's':
+ case 'r':
yaz_log_init_max_size(atoi(arg));
break;
case 'f':
yaz_log_init_max_size(atoi(arg));
break;
case 'f':
@@
-72,7
+72,7
@@
int main(int argc, char **argv)
default:
fprintf(stderr, "tstlog. Bad option\n");
fprintf(stderr, "tstlog [-f logformat] [-v level] [-l file] "
default:
fprintf(stderr, "tstlog. Bad option\n");
fprintf(stderr, "tstlog [-f logformat] [-v level] [-l file] "
- "[-m module] [-w sec] [-s max] [-n num] [-H] msg ..\n");
+ "[-m module] [-w sec] [-r max] [-n num] [-H] msg ..\n");
exit(1);
}
}
exit(1);
}
}