swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 9149ea390ce121d63c682d6ad91639bff57dbd09
parent 8524dfc20af150d5e8e92cde965222bbcca49c78
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Wed, 31 Dec 2008 00:16:17 +0100

Minor code simplificaton.
Diffstat:
Mapps/blagh/app.rc | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc @@ -8,7 +8,6 @@ fn blagh_init { blagh_uri=`{echo $req_path|sed 's/index(\.(atom|rss))?$//'} blagh_url=$base_uri^$blagh_root_path blagh_root=$sitedir^$blagh_uri - dprint $blagh_root if(~ $req_path */[0-9][0-9][0-9][0-9]/ */[0-9][0-9][0-9][0-9]/[0-9][0-9]/ */[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]/) status='Use default handler' @@ -27,11 +26,7 @@ fn blagh_init { master_template=_apps/blagh/atom.tpl if not if(~ $req_path */index.rss) master_template=_apps/blagh/rss20.tpl - if not - dprint XXXX $req_path } - - status=() } }