From 6d00ed0733857815bfe3eb2779b99bdd3f2049fe Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 26 Nov 2015 09:56:43 +0100 Subject: [PATCH] change "z3950.loc.gov:7090" in documentation YPP-20 --- doc/book.xml | 8 ++++---- zoom/canonical.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/book.xml b/doc/book.xml index ba3e80d..ab49cb8 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -322,8 +322,8 @@ int main(int argc, char **argv) { - connection conn("z3950.loc.gov", 7090); - conn.option("databaseName", "Voyager"); + connection conn("lx2.loc.gov", 210); + conn.option("databaseName", "LCDB"); conn.option("preferredRecordSyntax", "USMARC"); resultSet rs(conn, prefixQuery("@attr 1=7 0253333490")); const record *rec = rs.getRecord(0); @@ -863,8 +863,8 @@ int main(int argc, char **argv) { try { - connection conn("z3950.loc.gov", 7090); - conn.option("databaseName", "Voyager"); + connection conn("lx2.loc.gov", 210); + conn.option("databaseName", "LCDB"); conn.option("preferredRecordSyntax", "USMARC"); resultSet rs(conn, prefixQuery("@attr 1=7 0253333490")); const record *rec = rs.getRecord(0); diff --git a/zoom/canonical.cpp b/zoom/canonical.cpp index 134db55..168a004 100644 --- a/zoom/canonical.cpp +++ b/zoom/canonical.cpp @@ -7,8 +7,8 @@ using namespace ZOOM; int main(int argc, char **argv) { - connection conn("z3950.loc.gov", 7090); - conn.option("databaseName", "Voyager"); + connection conn("lx2.loc.gov", 210); + conn.option("databaseName", "LCDB"); conn.option("preferredRecordSyntax", "USMARC"); resultSet rs(conn, prefixQuery("@attr 1=7 0253333490")); const record rec(rs, 0); -- 1.7.10.4