[master] 0ebe58c vslc_file can fit on 64 bytes

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


commit 0ebe58c648597d6cfe8abafe573ce7d502fa0a50
Author: Guillaume Quintard <guillaume.quintard at gmail.com>
Date:   Mon Mar 16 11:51:49 2015 +0100

    vslc_file can fit on 64 bytes

diff --git a/lib/libvarnishapi/vsl_cursor.c b/lib/libvarnishapi/vsl_cursor.c
index e908bd7..e9daab0 100644
--- a/lib/libvarnishapi/vsl_cursor.c
+++ b/lib/libvarnishapi/vsl_cursor.c
@@ -288,13 +288,14 @@ struct vslc_file {
 	unsigned			magic;
 #define VSLC_FILE_MAGIC			0x1D65FFEF
 
-	struct VSL_cursor		cursor;
-
 	int				error;
 	int				fd;
 	int				close_fd;
 	ssize_t				buflen;
 	uint32_t			*buf;
+
+	struct VSL_cursor		cursor;
+
 };
 
 static void



More information about the varnish-commit mailing list