projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use m4/id-config.sh
[yazpp-moved-to-github.git]
/
zlint
/
test-search-01.cpp
diff --git
a/zlint/test-search-01.cpp
b/zlint/test-search-01.cpp
index
1240586
..
e44fce4
100644
(file)
--- a/
zlint/test-search-01.cpp
+++ b/
zlint/test-search-01.cpp
@@
-1,8
+1,11
@@
/* This file is part of the yazpp toolkit.
/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2008 Index Data and Mike Taylor
+ * Copyright (C) 1998-2012 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yaz/pquery.h>
#include <yaz/sortspec.h>
#include <yaz/log.h>
#include <yaz/pquery.h>
#include <yaz/sortspec.h>
@@
-143,7
+146,7
@@
Zlint_code Zlint_test_search_01::sendTest(Zlint *z)
{
z->msg_check_for("sort %s", try_sort[m_sort_no]);
{
z->msg_check_for("sort %s", try_sort[m_sort_no]);
- char *setstring = "default";
+ const char *setstring = "default";
int len;
Z_SortRequest *sr = apdu->u.sortRequest;
int len;
Z_SortRequest *sr = apdu->u.sortRequest;
@@
-278,6
+281,7
@@
Zlint_code Zlint_test_search_01::recv_fail(Zlint *z, int reason)
/*
* 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