Commit 18cbd4d1 authored by Nils Goroll's avatar Nils Goroll

return the empty string for no data

parent 8859a614
......@@ -13,11 +13,10 @@ init_function(struct vmod_priv *priv, const struct VCL_conf *conf)
return (0);
}
// XXX this or just return NULL ?
static const struct vmod_priv const null_blob[1] =
{
{
.priv = NULL,
.priv = "",
.len = 0,
.free = NULL
}
......
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