[master] 898d9dc ban_test can fit on 32 bytes

Guillaume Quintard guillaume at varnish-software.com
Mon Nov 23 14:04:27 CET 2015


commit 898d9dcadd15d022ecaf16bfcbb8007ac6dc68c8
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