projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump year
[metaproxy-moved-to-github.git]
/
src
/
filter_zoom.cpp
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
0905765
..
d3bc5b1
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-1,5
+1,5
@@
/* This file is part of Metaproxy.
/* This file is part of Metaproxy.
- Copyright (C) 2005-2012 Index Data
+ Copyright (C) 2005-2013 Index Data
Metaproxy 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
Metaproxy 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
@@
-1423,9
+1423,8
@@
yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases(
std::string url(sptr->target);
if (sptr->sru.length())
{
std::string url(sptr->target);
if (sptr->sru.length())
{
- yaz_log(YLOG_LOG, "Got URL %s", url.c_str());
b->set_option("sru", sptr->sru);
b->set_option("sru", sptr->sru);
- if (url.find_first_of("://") == std::string::npos)
+ if (url.find("://") == std::string::npos)
url = "http://" + url;
if (sptr->sru_version.length())
b->set_option("sru_version", sptr->sru_version);
url = "http://" + url;
if (sptr->sru_version.length())
b->set_option("sru_version", sptr->sru_version);