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
nmake: align with pazpar2 WRT icu/libxslt
[idzebra-moved-to-github.git]
/
util
/
tstpass.c
diff --git
a/util/tstpass.c
b/util/tstpass.c
index
9b5b54b
..
742b202
100644
(file)
--- a/
util/tstpass.c
+++ b/
util/tstpass.c
@@
-1,8
+1,5
@@
-/* $Id: tstpass.c,v 1.4 2007-12-13 19:50:26 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) 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
@@
-20,6
+17,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <passwddb.h>
#include <yaz/test.h>
#include <yaz/snprintf.h>
#include <passwddb.h>
#include <yaz/test.h>
#include <yaz/snprintf.h>
@@
-39,7
+39,7
@@
static void tst(void)
{
char path[1024];
Passwd_db db;
{
char path[1024];
Passwd_db db;
-
+
db = passwd_db_open();
YAZ_CHECK(db);
if (!db)
db = passwd_db_open();
YAZ_CHECK(db);
if (!db)
@@
-72,6
+72,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