WS_Return() is now unused, comment it out.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1806
d4fa192b-c00b-0410-8231-
f00ffab90ce4
void WS_Assert(struct ws *ws);
void WS_Reset(struct ws *ws);
char *WS_Alloc(struct ws *ws, unsigned bytes);
-void WS_Return(struct ws *ws, char *b, char *e);
/*--------------------------------------------------------------------
* HTTP Request/Response/Header handling structure.
sp->nhashptr = sp->vcl->nhashcount * 2;
p = WS_Alloc(sp->http->ws,
sizeof(const char *) * (sp->nhashptr + 1));
+ XXXAN(p);
u = (uintptr_t)p;
u &= sizeof(const char *) - 1;
if (u)
ws->r = NULL;
}
+#if 0
+/* XXX: not used anywhere (yet) */
void
WS_Return(struct ws *ws, char *s, char *e)
{
if (e == ws->f)
ws->f = s;
}
+#endif