Commit 78ee53e3 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Whitespace OCD

parent 92d48483
......@@ -327,7 +327,7 @@ h2_new_session(struct worker *wrk, void *arg)
AZ(pthread_cond_signal(r2->cond));
}
AZ(pthread_cond_signal(h2->cond));
while(1) {
while (1) {
again = 0;
VTAILQ_FOREACH_SAFE(r2, &h2->streams, list, r22) {
if (r2 != h2->req0) {
......
......@@ -181,7 +181,7 @@ tea while it runs, it usually takes a couple of minutes::
make check
Don't worry if one or two tests fail. Some of the tests are a
bit too timing sensitive (Please tell us which so we can fix them).
bit too timing sensitive (Please tell us which so we can fix them).
However, if a lot of them fail, and in particular if the `b00000.vtc` test
fails, something is horribly wrong. You will get nowhere without
figuring this one out.
......
......@@ -111,7 +111,7 @@ who contribute materially to the Varnish Project in some way,
(documentation, code, machines, testing, meeting-rooms...) or
people we judge should be there for some other good reason.
If you feel you should be on the VIVU list, drop me an email,
If you feel you should be on the VIVU list, drop me an email,
don't forget to include your PGP key.
VQS - Varnish Quality Software
......
+fan
-esym(759, VJSN_*) // could be moved hdr->mod
-esym(759, VJSN_*) // could be moved hdr->mod
-esym(765, VJSN_*) // could be made static
-esym(759, vjsn_dump) // could be moved hdr->mod
-esym(759, vjsn_dump) // could be moved hdr->mod
-esym(765, vjsn_dump) // could be made static
-esym(714, vjsn_dump) // not ref
-esym(788, vex_rhs_e::*)
......
......@@ -138,7 +138,7 @@ vjsn_unumber(struct vjsn *js)
VJSN_EXPECT(js, '\\', 0);
VJSN_EXPECT(js, 'u', 0);
for(i = 0; i < 4; i++) {
for (i = 0; i < 4; i++) {
u <<= 4;
c = *js->ptr;
if (c >= '0' && c <= '9')
......@@ -222,7 +222,7 @@ vjsn_string(struct vjsn *js)
*p++ = *js->ptr++;
continue;
}
switch(js->ptr[1]) {
switch (js->ptr[1]) {
case '\\':
case '/':
case '"': *p++ = js->ptr[1]; js->ptr += 2; break;
......@@ -233,7 +233,7 @@ vjsn_string(struct vjsn *js)
case 'r': *p++ = 0x0d; js->ptr += 2; break;
case 'u':
vjsn_unicode(js, &p);
if(js->err != NULL)
if (js->err != NULL)
return(NULL);
break;
default:
......@@ -275,7 +275,7 @@ vjsn_object(struct vjsn *js)
jsve->name = s;
VTAILQ_INSERT_TAIL(&jsv->children, jsve, list);
vjsn_skip_ws(js);
if(*js->ptr == '}')
if (*js->ptr == '}')
break;
VJSN_EXPECT(js, ',', jsv);
}
......@@ -306,7 +306,7 @@ vjsn_array(struct vjsn *js)
CHECK_OBJ_NOTNULL(jsve, VJSN_VAL_MAGIC);
VTAILQ_INSERT_TAIL(&jsv->children, jsve, list);
vjsn_skip_ws(js);
if(*js->ptr == ']')
if (*js->ptr == ']')
break;
VJSN_EXPECT(js, ',', jsv);
}
......@@ -917,9 +917,9 @@ main(int argc, char **argv)
(void)argc;
(void)argv;
for(s = good; *s != NULL; s++)
for (s = good; *s != NULL; s++)
test_good(*s);
for(s = bad; *s != NULL; s++)
for (s = bad; *s != NULL; s++)
test_bad(*s);
/*
......
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