* Don't try using the Expect: header the next time around...
*/
- expect = (http_status_t)0;
+ expect = HTTP_STATUS_NONE;
DEBUG_puts("2cupsSendRequest: Reconnecting after "
"HTTP_EXPECTATION_FAILED.");
{
cupsdLogMessage(CUPSD_LOG_CRIT, "cupsdCheckPolicy: p=%p, con=%p.", p, con);
- return ((http_status_t)0);
+ return (HTTP_STATUS_SERVER_ERROR);
}
/*
if ((po = cupsdFindPolicyOp(p, con->request->request.op.operation_id)) == NULL)
{
cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCheckPolicy: No matching operation, returning 0.");
- return ((http_status_t)0);
+ return (HTTP_STATUS_OK);
}
con->best = po;