Commit 2cf6fa2f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

White-space nits



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4377 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 6736b5ec
......@@ -73,5 +73,6 @@ void vtc_log(struct vtclog *vl, unsigned lvl, const char *fmt, ...);
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);
......@@ -85,7 +85,7 @@ struct http {
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 @@ http_write(const struct http *hp, int lvl, const char *pfx)
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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment