]> err.no Git - varnish/commit
Give BAN_Add() an (option) cli argument so errors can be reported
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Jun 2008 21:33:21 +0000 (21:33 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Jun 2008 21:33:21 +0000 (21:33 +0000)
commita32abade8d707ddbbb3c759353c664d39431e3d7
tree55fc5347c6fbe45b995f8d234f26fb49dc0124e1
parent9679c28cc132bfa56f5812d1363737c9953abdc2
Give BAN_Add() an (option) cli argument so errors can be reported
but also give it a return value since we don't have a cli in VCL.

However, I'm not sure how we will report the error in VCL, so still
log the trouble in shmlog.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2751 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_ban.c
varnish-cache/bin/varnishd/cache_vrt.c