password_tries = 0;
else
{
- if (ipp_status == IPP_STATUS_ERROR_INTERNAL)
- {
- waitjob_tries ++;
+ if (ipp_status == IPP_STATUS_ERROR_INTERNAL)
+ {
+ waitjob_tries ++;
- if (waitjob_tries > 4)
- {
- ippDelete(response);
- ipp_status = IPP_STATUS_OK;
- break;
- }
- }
- else if (ipp_status != IPP_STATUS_ERROR_SERVICE_UNAVAILABLE &&
- ipp_status != IPP_STATUS_ERROR_BUSY)
- {
- ippDelete(response);
- ipp_status = IPP_STATUS_OK;
- break;
- }
+ if (waitjob_tries > 4)
+ {
+ ippDelete(response);
+ ipp_status = IPP_STATUS_OK;
+ break;
+ }
+ }
+ else if (ipp_status != IPP_STATUS_ERROR_SERVICE_UNAVAILABLE &&
+ ipp_status != IPP_STATUS_ERROR_BUSY)
+ {
+ ippDelete(response);
+ ipp_status = IPP_STATUS_OK;
+ break;
+ }
}
if (response)