[master] a8381a2 Polish
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Feb 18 18:41:48 CET 2016
commit a8381a2c0ac53f8f8509f401fe2445f5086331c2
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Thu Feb 18 18:41:20 2016 +0100
Polish
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 2f44dcd..4fc5359 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -538,13 +538,16 @@ vbf_fetch_body_helper(struct busyobj *bo)
*/
#define vbf_vfp_push(bo, vfp, top) \
- if (VFP_Push((bo)->vfc, (vfp), (top)) == NULL) { \
- assert (WS_Overflowed((bo)->vfc->http->ws)); \
- (void)VFP_Error((bo)->vfc, "workspace_backend overflow"); \
- (bo)->htc->doclose = SC_OVERLOAD; \
- VDI_Finish((bo)->wrk, bo); \
- return (F_STP_ERROR); \
- }
+ do { \
+ if (VFP_Push((bo)->vfc, (vfp), (top)) == NULL) { \
+ assert (WS_Overflowed((bo)->vfc->http->ws)); \
+ (void)VFP_Error((bo)->vfc, \
+ "workspace_backend overflow"); \
+ (bo)->htc->doclose = SC_OVERLOAD; \
+ VDI_Finish((bo)->wrk, bo); \
+ return (F_STP_ERROR); \
+ } \
+ } while (0)
static enum fetch_step
vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
More information about the varnish-commit
mailing list