From: Adam Dickmeiss Date: Tue, 28 Feb 2012 16:06:11 +0000 (+0100) Subject: zoom: Only base database as additional info X-Git-Tag: v1.3.25~5 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=b561cc43d3194c3dbd7d95316d6ad51fc2d673dd;p=metaproxy-moved-to-github.git zoom: Only base database as additional info When 'Database does not exist' is returned. --- 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; }