r4377 - trunk/varnish-cache/bin/varnishtest
phk at projects.linpro.no
phk at projects.linpro.no
Fri Nov 27 12:53:50 CET 2009
Author: phk
Date: 2009-11-27 12:53:50 +0100 (Fri, 27 Nov 2009)
New Revision: 4377
Modified:
trunk/varnish-cache/bin/varnishtest/vtc.h
trunk/varnish-cache/bin/varnishtest/vtc_http.c
Log:
White-space nits
Modified: trunk/varnish-cache/bin/varnishtest/vtc.h
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc.h 2009-11-27 11:06:32 UTC (rev 4376)
+++ trunk/varnish-cache/bin/varnishtest/vtc.h 2009-11-27 11:53:50 UTC (rev 4377)
@@ -73,5 +73,6 @@
void vtc_dump(struct vtclog *vl, unsigned lvl, const char *pfx,
const char *str);
-void macro_def(struct vtclog *vl, const char *instance, const char *name, const char *fmt, ...);
+void macro_def(struct vtclog *vl, const char *instance, const char *name,
+ const char *fmt, ...);
struct vsb *macro_expand(char *name);
Modified: trunk/varnish-cache/bin/varnishtest/vtc_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_http.c 2009-11-27 11:06:32 UTC (rev 4376)
+++ trunk/varnish-cache/bin/varnishtest/vtc_http.c 2009-11-27 11:53:50 UTC (rev 4377)
@@ -85,8 +85,8 @@
vtc_log(hp->vl, 0, \
"\"%s\" only possible in server", av[0]); \
} while (0)
-
+
/* XXX: we may want to vary this */
static const char * const nl = "\r\n";
@@ -138,7 +138,7 @@
AZ(vsb_overflowed(hp->vsb));
vtc_dump(hp->vl, lvl, pfx, vsb_data(hp->vsb));
l = write(hp->fd, vsb_data(hp->vsb), vsb_len(hp->vsb));
- if (l != vsb_len(hp->vsb))
+ if (l != vsb_len(hp->vsb))
vtc_log(hp->vl, 0, "Write failed: %s", strerror(errno));
}
More information about the varnish-commit
mailing list