X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffactory_filter.cpp;h=a7516bbbb8df046033365b0bb29725e1937743d0;hb=94e341af1ed1bcb064089db64836015844c3dcd7;hp=5ba05bc524289f4a6c418ce12707e8e70f79525a;hpb=79100c2ae2dac4bdde4f4d46b69e147562b4ec6c;p=metaproxy-moved-to-github.git diff --git a/src/factory_filter.cpp b/src/factory_filter.cpp index 5ba05bc..a7516bb 100644 --- a/src/factory_filter.cpp +++ b/src/factory_filter.cpp @@ -1,7 +1,22 @@ -/* $Id: factory_filter.cpp,v 1.4 2006-03-16 10:40:59 adam Exp $ - Copyright (c) 2005-2006, Index Data. +/* $Id: factory_filter.cpp,v 1.8 2007-05-09 21:23:09 adam Exp $ + Copyright (c) 2005-2007, Index Data. -%LICENSE% +This file is part of Metaproxy. + +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 +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Metaproxy; see the file LICENSE. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ #include "config.hpp" @@ -107,7 +122,7 @@ bool mp::FactoryFilter::add_creator_dl(const std::string &fi, return true; } - std::string full_path = path + "/metaproxy_1_filter_" + fi + ".so"; + std::string full_path = path + "/metaproxy_filter_" + fi + ".so"; void *dl_handle = dlopen(full_path.c_str(), RTLD_GLOBAL|RTLD_NOW); if (!dl_handle) {