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
Initialize HAVETHREADS (was accidently removed in previous commit).
[yaz-moved-to-github.git]
/
util
/
yaz-illclient.c
diff --git
a/util/yaz-illclient.c
b/util/yaz-illclient.c
index
b65c9e6
..
389f11d
100644
(file)
--- a/
util/yaz-illclient.c
+++ b/
util/yaz-illclient.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2006, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: yaz-illclient.c,v 1.9 2007-11-30 11:44:47 adam Exp $
*/
/* WARNING - This is work in progress - not at all ready */
*/
/* WARNING - This is work in progress - not at all ready */
@@
-184,7
+182,7
@@
void parseargs( int argc, char * argv[], struct prog_args *args) {
int ret;
char *arg;
char *prog=*argv;
int ret;
char *arg;
char *prog=*argv;
- const char *version="$Id: yaz-illclient.c,v 1.9 2007-11-30 11:44:47 adam Exp $"; /* from cvs */
+ char version[60];
struct nameval *nv;
/* default values */
struct nameval *nv;
/* default values */
@@
-224,7
+222,8
@@
void parseargs( int argc, char * argv[], struct prog_args *args) {
yaz_log_init_file(arg);
break;
case 'V':
yaz_log_init_file(arg);
break;
case 'V':
- printf("%s %s",prog, version );
+ yaz_version(version, 0);
+ printf("%s %s\n",prog, version);
break;
case 'D':
nv=parse_nameval(arg);
break;
case 'D':
nv=parse_nameval(arg);