cnt_error(struct sess *sp)
{
- RES_Error(sp, sp->err_code, sp->err_expl);
+ RES_Error(sp, sp->err_code, sp->err_reason);
sp->err_code = 0;
- sp->err_expl = NULL;
+ sp->err_reason = NULL;
sp->step = STP_DONE;
return (0);
}
/*--------------------------------------------------------------------*/
void
-VRT_error(struct sess *sp, unsigned code, const char *expl)
+VRT_error(struct sess *sp, unsigned code, const char *reason)
{
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
- WSL(sp->wrk, SLT_Debug, 0, "VCL_error(%u, %s)", code, expl);
+ WSL(sp->wrk, SLT_Debug, 0, "VCL_error(%u, %s)", code, reason);
sp->err_code = code;
- sp->err_expl = expl;
+ sp->err_reason = reason;
}
/*--------------------------------------------------------------------*/