projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fa1359
)
zoom: Only base database as additional info
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 28 Feb 2012 16:06:11 +0000
(17:06 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 28 Feb 2012 16:06:11 +0000
(17:06 +0100)
When 'Database does not exist' is returned.
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
9ae28bb
..
d67c97c
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-1002,7
+1002,7
@@
yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases(
if (!doc)
{
*error = YAZ_BIB1_DATABASE_DOES_NOT_EXIST;
- *addinfo = odr_strdup(odr, database.c_str());
+ *addinfo = odr_strdup(odr, torus_db.c_str());
BackendPtr b;
return b;
}
@@
-1035,7
+1035,7
@@
yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases(
if (!sptr)
{
*error = YAZ_BIB1_DATABASE_DOES_NOT_EXIST;
- *addinfo = odr_strdup(odr, database.c_str());
+ *addinfo = odr_strdup(odr, torus_db.c_str());
BackendPtr b;
return b;
}