[master] f7c2c4c More canonical debug format for vmod_cache_req_body as suggested by fgs

Nils Goroll nils.goroll at uplex.de
Fri Sep 19 12:52:04 CEST 2014


commit f7c2c4cb316dfb1fd17243aeaa4bb0b379f27b98
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Sep 19 12:43:54 2014 +0200

    More canonical debug format for vmod_cache_req_body as suggested by fgs

diff --git a/lib/libvmod_std/vmod_std.c b/lib/libvmod_std/vmod_std.c
index 55a574e..8872a1c 100644
--- a/lib/libvmod_std/vmod_std.c
+++ b/lib/libvmod_std/vmod_std.c
@@ -237,5 +237,5 @@ vmod_cache_req_body(const struct vrt_ctx *ctx, VCL_BYTES size)
 	int result;
 	CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
 	result = VRT_CacheReqBody(ctx, size);
-	VSLb(ctx->vsl, SLT_Debug,"VRT_CacheReqBody[size: %zu] result: %d", (size_t)size, result);
+	VSLb(ctx->vsl, SLT_Debug,"VRT_CacheReqBody(%zu): %d", (size_t)size, result);
 }



More information about the varnish-commit mailing list