+ if (no_vhosts > 1)
+ {
+ yp2::odr odr;
+ package.response() = odr.create_initResponse(
+ apdu,
+ YAZ_BIB1_INIT_NEGOTIATION_OPTION_REQUIRED,
+ "z3950_client: Can not cope with multiple vhosts");
+ package.session().close();
+ return 0;
+ }
+ std::list<std::string>::const_iterator v_it = vhosts.begin();
+ std::list<std::string> dblist;
+ std::string host;
+ yp2::util::split_zurl(*v_it, host, dblist);
+
+ if (dblist.size())
+ {
+ std::cout << "z3950_client: No databases in vhost supported\n";
+ }
+