r283 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon Jul 3 16:39:40 CEST 2006
Author: phk
Date: 2006-07-03 16:39:40 +0200 (Mon, 03 Jul 2006)
New Revision: 283
Modified:
trunk/varnish-cache/bin/varnishd/cache.h
trunk/varnish-cache/bin/varnishd/cache_acceptor.c
Log:
avoid const poison
Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h 2006-07-03 14:39:02 UTC (rev 282)
+++ trunk/varnish-cache/bin/varnishd/cache.h 2006-07-03 14:39:40 UTC (rev 283)
@@ -131,7 +131,7 @@
/* 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);
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2006-07-03 14:39:02 UTC (rev 282)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2006-07-03 14:39:40 UTC (rev 283)
@@ -85,7 +85,7 @@
}
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;
More information about the varnish-commit
mailing list