r3588 - branches/2.0/varnish-cache/lib/libvcl
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Thu Feb 5 10:34:34 CET 2009
Author: tfheen
Date: 2009-02-05 10:34:34 +0100 (Thu, 05 Feb 2009)
New Revision: 3588
Modified:
branches/2.0/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl
Log:
Merge r3339: Break the encoded .h files up at convenient newlines, to avoid minor
edits to bases from generating huge diffs.
Modified: branches/2.0/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl
===================================================================
--- branches/2.0/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl 2009-02-05 09:24:49 UTC (rev 3587)
+++ branches/2.0/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl 2009-02-05 09:34:34 UTC (rev 3588)
@@ -127,15 +127,15 @@
typedef int vcl_func_f(struct sess *sp);
}
puts $fo "struct VCL_conf {"
-puts $fo { unsigned magic;
-#define VCL_CONF_MAGIC 0x7406c509 /* from /dev/random */
+puts $fo { unsigned magic;
+#define VCL_CONF_MAGIC 0x7406c509 /* from /dev/random */
- struct director **director;
- unsigned ndirector;
- struct vrt_ref *ref;
- unsigned nref;
- unsigned busy;
- unsigned discard;
+ struct director **director;
+ unsigned ndirector;
+ struct vrt_ref *ref;
+ unsigned nref;
+ unsigned busy;
+ unsigned discard;
unsigned nsrc;
const char **srcname;
@@ -143,8 +143,8 @@
unsigned nhashcount;
- vcl_init_f *init_func;
- vcl_fini_f *fini_func;
+ vcl_init_f *init_func;
+ vcl_fini_f *fini_func;
}
foreach m $methods {
puts $fo "\tvcl_func_f\t*[lindex $m 0]_func;"
@@ -376,7 +376,7 @@
}
puts -nonewline $fo "\\n"
incr n 2
- if {$n > 53} {
+ if {$n > 30} {
puts $fo "\");"
set n 0
}
More information about the varnish-commit
mailing list