Commit 283a1c9f authored by Guillaume Quintard's avatar Guillaume Quintard

WS_Reserve is now deprecated

parent a2caf1e9
......@@ -69,7 +69,7 @@ vmod_hello(VRT_CTX, VCL_STRING name)
char *p;
unsigned u, v;
u = WS_Reserve(ctx->ws, 0); /* Reserve some work space */
u = WS_ReserveAll(ctx->ws); /* Reserve some work space */
p = ctx->ws->f; /* Front of workspace area */
v = snprintf(p, u, "Hello, %s", name);
v++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment