[4.1] f9662e8 ban_test can fit on 32 bytes

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 14 15:15:06 CET 2016


commit f9662e805b81a864dede130c41404db950274b9b
Author: Guillaume Quintard <guillaume.quintard at gmail.com>
Date:   Mon Mar 16 13:52:01 2015 +0100

    ban_test can fit on 32 bytes

diff --git a/bin/varnishd/cache/cache_ban.c b/bin/varnishd/cache/cache_ban.c
index ed9fcc2..2b71d94 100644
--- a/bin/varnishd/cache/cache_ban.c
+++ b/bin/varnishd/cache/cache_ban.c
@@ -50,9 +50,9 @@ static pthread_t ban_thread;
 static int ban_holds;
 
 struct ban_test {
+	uint8_t			oper;
 	uint8_t			arg1;
 	const char		*arg1_spec;
-	uint8_t			oper;
 	const char		*arg2;
 	const void		*arg2_spec;
 };



More information about the varnish-commit mailing list