Commit 639c4a4c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

White space fixes



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5671 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 53bf7ad4
......@@ -348,20 +348,20 @@ http_GetHdrQ(const struct http *hp, const char *hdr, const char *field)
if (!i)
return (0.);
if (h == NULL)
if (h == NULL)
return (1.);
/* Skip whitespace, looking for '=' */
while (*h && vct_issp(*h))
h++;
if (*h++ != ';')
if (*h++ != ';')
return (1.);
while (*h && vct_issp(*h))
h++;
if (*h++ != 'q')
if (*h++ != 'q')
return (1.);
while (*h && vct_issp(*h))
h++;
if (*h++ != '=')
if (*h++ != '=')
return (1.);
while (*h && vct_issp(*h))
h++;
......
......@@ -278,7 +278,7 @@ RFC2616_Req_Gzip(const struct sess *sp)
return (1);
/*
* "gzip" is the real thing, but the 'q' value must be nonzero.
* "gzip" is the real thing, but the 'q' value must be nonzero.
* We do not care a hoot if the client prefers some other
* compression more than gzip: Varnish only does gzip.
*/
......
......@@ -331,7 +331,7 @@ cls_vlu(void *priv, const char *p)
AN(av);
if (av[0] != NULL) {
i = cls_vlu2(priv, av);
FreeArgv(av);
FreeArgv(av);
free(cli->cmd);
cli->cmd = NULL;
return (i);
......@@ -340,7 +340,7 @@ cls_vlu(void *priv, const char *p)
continue;
if (i < 3 || cli->auth == 0 || strcmp(av[i - 2], "<<")) {
i = cls_vlu2(priv, av);
FreeArgv(av);
FreeArgv(av);
free(cli->cmd);
cli->cmd = NULL;
return (i);
......@@ -368,7 +368,7 @@ cls_vlu(void *priv, const char *p)
cfd->argv[cfd->last_idx] = vsb_data(cfd->last_arg);
i = cls_vlu2(priv, cfd->argv);
cfd->argv[cfd->last_idx] = NULL;
FreeArgv(cfd->argv);
FreeArgv(cfd->argv);
cfd->argv = NULL;
free(cli->cmd);
cli->cmd = NULL;
......
......@@ -827,7 +827,7 @@ vcc_expr_add(struct vcc *tl, struct expr **e, enum var_type fmt)
{typ, T_LEQ, "(\v1 <= \v2)" }, \
{typ, T_GEQ, "(\v1 >= \v2)" }, \
{typ, '<', "(\v1 < \v2)" }, \
{typ, '>', "(\v1 > \v2)" }
{typ, '>', "(\v1 > \v2)" }
static const struct cmps {
enum var_type fmt;
......
......@@ -71,7 +71,7 @@ SVNID("$Id$")
#define PFX "storage."
/*--------------------------------------------------------------------
*
*
*/
static struct var *
......
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