projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update m4
[idzebra-moved-to-github.git]
/
index
/
zebrash.c
diff --git
a/index/zebrash.c
b/index/zebrash.c
index
a4bc18c
..
7c176d8
100644
(file)
--- a/
index/zebrash.c
+++ b/
index/zebrash.c
@@
-1,8
+1,5
@@
-/* $Id: zebrash.c,v 1.46 2007-04-16 21:54:37 adam Exp $
- Copyright (C) 1995-2007
- Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+ Copyright (C) 1994-2011 Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-24,6
+21,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
zebrash.c - command-line interface to zebra API
*/
zebrash.c - command-line interface to zebra API
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-266,7
+266,7
@@
static int cmd_logf( char *args[], WRBUF outbuff)
i=2;
else
lev=YLOG_LOG; /* this is in the default set!*/
i=2;
else
lev=YLOG_LOG; /* this is in the default set!*/
- yaz_log( lev, restargs(args,i));
+ yaz_log( lev, "%s", restargs(args,i));
return 0; /* ok */
}
return 0; /* ok */
}
@@
-868,6
+868,7
@@
int main (int argc, char ** argv)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab