git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3410
d4fa192b-c00b-0410-8231-
f00ffab90ce4
XXXAN(va);
*vap = va;
for (res = res0, i = 0; res != NULL; res = res->ai_next, ++i) {
- va[i] = calloc(1, sizeof *va[i]);
+ va[i] = calloc(1, sizeof(*va[i]));
XXXAN(va[i]);
va[i]->va_family = res->ai_family;
va[i]->va_socktype = res->ai_socktype;
static double
RateUnit(struct tokenlist *tl)
{
- double sc = 1.0;
+ double sc;
assert(tl->t->tok == ID);
sc = SizeUnit(tl);
*
* $Id$
*
- * This fine contains code for two cross-reference or consistency checks.
+ * This file contains code for two cross-reference or consistency checks.
*
* The first check is simply that all functions, acls and backends are
* both defined and referenced. Complaints about referenced but undefined
vcc_ErrToken(tl, r->name);
vsb_printf(tl->sb, " has unknown type %d\n",
r->type);
- return "???";
+ return "?";
}
}