Commit 085d3b26 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Minor flexelinting

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