r2247 - trunk/varnish-cache/lib/libvcl
des at projects.linpro.no
des at projects.linpro.no
Fri Nov 9 13:43:10 CET 2007
Author: des
Date: 2007-11-09 13:43:09 +0100 (Fri, 09 Nov 2007)
New Revision: 2247
Modified:
trunk/varnish-cache/lib/libvcl/vcc_compile.c
Log:
Whitespace cleanup.
Modified: trunk/varnish-cache/lib/libvcl/vcc_compile.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_compile.c 2007-11-09 11:19:45 UTC (rev 2246)
+++ trunk/varnish-cache/lib/libvcl/vcc_compile.c 2007-11-09 12:43:09 UTC (rev 2247)
@@ -216,7 +216,7 @@
break;
case '\n':
vsb_printf(sb, "\\n");
- if (mode)
+ if (mode)
vsb_printf(sb, "\"\n\t\"");
break;
case '\t': vsb_printf(sb, "\\t"); break;
@@ -327,7 +327,7 @@
Fc(tl, 0, ",\n");
}
Fc(tl, 0, "};\n");
-
+
Fc(tl, 0, "\nconst char *srcbody[%u] = {\n", tl->nsources);
VTAILQ_FOREACH(sp, &tl->sources, list) {
Fc(tl, 0, " /* ");
@@ -355,7 +355,7 @@
Fc(tl, 0, "\t.nhashcount = %u,\n", tl->nhashcount);
#define VCL_RET_MAC(l,u,b,n)
#define VCL_MET_MAC(l,u,b) \
- Fc(tl, 0, "\t." #l "_func = VGC_function_vcl_" #l ",\n");
+ Fc(tl, 0, "\t." #l "_func = VGC_function_vcl_" #l ",\n");
#include "vcl_returns.h"
#undef VCL_MET_MAC
#undef VCL_RET_MAC
@@ -385,7 +385,7 @@
if (sp->freeit != NULL)
free(sp->freeit);
- free(sp->name);
+ free(sp->name);
free(sp);
}
@@ -530,7 +530,7 @@
VTAILQ_REMOVE(&tl->sources, sp, list);
vcc_destroy_source(sp);
}
-
+
vsb_delete(tl->fh);
vsb_delete(tl->fc);
vsb_delete(tl->fi);
More information about the varnish-commit
mailing list