X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_dl.cpp;h=6b4802a0e4d0a56bdc10d85d94c4823196740317;hb=f47e8cf4cde2ba5465106e219c803e6424a4f177;hp=04a088ea206b4c3a1968897d4ec6bf7c942f4a80;hpb=63ea8aedbfd7dc56ab28dbc82c38b4458dcecb68;p=metaproxy-moved-to-github.git diff --git a/src/filter_dl.cpp b/src/filter_dl.cpp index 04a088e..6b4802a 100644 --- a/src/filter_dl.cpp +++ b/src/filter_dl.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_dl.cpp,v 1.2 2006-01-04 11:19:04 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() @@ -30,7 +29,7 @@ static yp2::filter::Base* filter_creator() } extern "C" { - const struct yp2_filter_struct yp2_filter_dl = { + struct yp2_filter_struct yp2_filter_dl = { 0, "dl", filter_creator