if (t) {
++t;
s->tcp_keepalive.timeout = atoi(t);
- t = strchr(t, ',');
+ // t = strchr(t, ','); // not really needed, left in as documentation
}
#if USE_SSL
} else if (strcasecmp(token, "sslBump") == 0) {
buf[0] = '\0';
vsnprintf(buf, 4096, fmt, args);
writeReplyBody(buf, strlen(buf));
+ va_end(args);
}
/**
}
}
+ va_end(args);
return (entry);
}
/* End of tree utility functions */
}
}
+ va_end(args);
return (new_oid);
}
mem_hdr::freeDataUpto(int64_t target_offset)
{
/* keep the last one to avoid change to other part of code */
-
- SplayNode<mem_node*> const * theStart = nodes.start();
+ SplayNode<mem_node*> const * theStart;
while ((theStart = nodes.start())) {
if (theStart == nodes.finish())
port = urlDefaultPort(protocol);
/* Is there any login information? (we should eventually parse it above) */
- if ((t = strrchr(host, '@'))) {
+ t = strrchr(host, '@');
+ if (t != NULL) {
strcpy((char *) login, (char *) host);
t = strrchr(login, '@');
*t = 0;