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
Added RPM spec
[yazpp-moved-to-github.git]
/
src
/
yaz-marc-sample.cpp
diff --git
a/src/yaz-marc-sample.cpp
b/src/yaz-marc-sample.cpp
index
5708a5d
..
c83dd74
100644
(file)
--- a/
src/yaz-marc-sample.cpp
+++ b/
src/yaz-marc-sample.cpp
@@
-1,11
+1,9
@@
-/*
- * Copyright (c) 2000-2001, Index Data.
+/* This file is part of the yazpp toolkit.
+ * Copyright (C) 1998-2008 Index Data and Mike Taylor
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: yaz-marc-sample.cpp,v 1.8 2005-06-02 06:40:21 adam Exp $
*/
*/
-#include <yaz++/z-server.h>
+#include <yazpp/z-server.h>
using namespace yazpp_1;
using namespace yazpp_1;
@@
-1483,7
+1481,15
@@
static const char *marc_records[] = {
const char *Yaz_USMARC::get_record(size_t position)
{
if (position >= 1 && position <= (
const char *Yaz_USMARC::get_record(size_t position)
{
if (position >= 1 && position <= (
- sizeof(marc_records) / sizeof(*marc_records)))
- return marc_records[position-1];
+ sizeof(marc_records) / sizeof(*marc_records)))
+ return marc_records[position-1];
return 0;
}
return 0;
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+