From b561cc43d3194c3dbd7d95316d6ad51fc2d673dd Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 28 Feb 2012 17:06:11 +0100 Subject: [PATCH] zoom: Only base database as additional info When 'Database does not exist' is returned. --- src/filter_zoom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 9ae28bb..d67c97c 100644 --- 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; } -- 1.7.10.4