Commit c371fe88 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Lasse Karstensen

Minor flexelinting

parent 681da739
......@@ -401,7 +401,7 @@ VRT_ref_vcl(VRT_CTX, const char *desc)
ALLOC_OBJ(ref, VCLREF_MAGIC);
AN(ref);
ref->vcl = vcl;
snprintf(ref->desc, sizeof ref->desc, "%s", desc);
bprintf(ref->desc, "%s", desc);
Lck_Lock(&vcl_mtx);
VTAILQ_INSERT_TAIL(&vcl->ref_list, ref, list);
......
......@@ -277,7 +277,7 @@ event_load(VRT_CTX, struct vmod_priv *priv)
}
static int
event_warm(VRT_CTX, struct vmod_priv *priv)
event_warm(VRT_CTX, const struct vmod_priv *priv)
{
struct priv_vcl *priv_vcl;
char buf[32];
......@@ -294,7 +294,7 @@ event_warm(VRT_CTX, struct vmod_priv *priv)
AZ(priv_vcl->vcl);
AZ(priv_vcl->vclref);
snprintf(buf, sizeof buf, "vmod-debug ref on %s", VCL_Name(ctx->vcl));
bprintf(buf, "vmod-debug ref on %s", VCL_Name(ctx->vcl));
priv_vcl->vcl = ctx->vcl;
priv_vcl->vclref = VRT_ref_vcl(ctx, buf);
return (0);
......@@ -320,7 +320,7 @@ cooldown_thread(void *priv)
}
static int
event_cold(VRT_CTX, struct vmod_priv *priv)
event_cold(VRT_CTX, const struct vmod_priv *priv)
{
pthread_t thread;
struct priv_vcl *priv_vcl;
......
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