From 220491b1a5041ad99bc61718422bf8a38cc38df7 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 3 Jul 2006 14:39:40 +0000 Subject: [PATCH] avoid const poison git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@283 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache.h | 2 +- varnish-cache/bin/varnishd/cache_acceptor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache.h b/varnish-cache/bin/varnishd/cache.h index eac4a83f..93969aca 100644 --- a/varnish-cache/bin/varnishd/cache.h +++ b/varnish-cache/bin/varnishd/cache.h @@ -131,7 +131,7 @@ struct backend { /* cache_acceptor.c */ void vca_write(struct sess *sp, void *ptr, size_t len); -void vca_write_obj(struct sess *sp, const char *b, unsigned l); +void vca_write_obj(struct sess *sp, char *b, unsigned l); void vca_flush(struct sess *sp); void vca_return_session(struct sess *sp); void vca_close_session(struct sess *sp, const char *why); diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index 19d35bdc..92d9ccfc 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -85,7 +85,7 @@ vca_write(struct sess *sp, void *ptr, size_t len) } void -vca_write_obj(struct sess *sp, const char *b, unsigned l) +vca_write_obj(struct sess *sp, char *b, unsigned l) { struct storage *st; unsigned u = 0; -- 2.39.5