bool
comm_has_incomplete_write(int fd)
{
- assert(isOpen(fd) && COMMIO_FD_WRITECB(fd));
+ assert(isOpen(fd) && COMMIO_FD_WRITECB(fd) != NULL);
return COMMIO_FD_WRITECB(fd)->active();
}
esiTry::render(ESISegment::Pointer output)
{
/* Try renders from it's children */
- assert (this);
assert (attempt.getRaw());
assert (except.getRaw());
debugs(86, 5, "esiTryRender: Rendering Try " << this);
esiTry::process (int dovars)
{
esiProcessResult_t rv = ESI_PROCESS_PENDING_MAYFAIL;
- assert (this);
if (!attempt.getRaw()) {
debugs(86, DBG_CRITICAL, "esiTryProcess: Try has no attempt element - ESI template is invalid (section 3.4)");
/* esiStream functions */
ESIStreamContext::~ESIStreamContext()
{
- assert (this);
freeResources();
}
void
ESIInclude::subRequestDone (ESIStreamContext::Pointer stream, bool success)
{
- assert (this);
-
if (!dataNeeded())
return;