X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_dl.cpp;h=6b4802a0e4d0a56bdc10d85d94c4823196740317;hb=f47e8cf4cde2ba5465106e219c803e6424a4f177;hp=7ce559b6ded2207fa654452f05971aa9ec52992c;hpb=cae80f85741d2564d918a0e3285c62e51491a7fc;p=metaproxy-moved-to-github.git diff --git a/src/filter_dl.cpp b/src/filter_dl.cpp index 7ce559b..6b4802a 100644 --- a/src/filter_dl.cpp +++ b/src/filter_dl.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_dl.cpp,v 1.1 2005-12-10 09:59:10 adam Exp $ +/* $Id: filter_dl.cpp,v 1.4 2006-01-09 21:20:15 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -7,7 +7,6 @@ #include "config.hpp" #include "filter.hpp" -#include "router.hpp" #include "package.hpp" namespace yp2 { @@ -21,7 +20,7 @@ namespace yp2 { void yp2::filter::Filter_dl::process(yp2::Package & package) const { - package.data() = 42; + package.data() = 42; // magic checked in test_filter_factory } static yp2::filter::Base* filter_creator() @@ -32,6 +31,7 @@ static yp2::filter::Base* filter_creator() extern "C" { struct yp2_filter_struct yp2_filter_dl = { 0, + "dl", filter_creator }; }