Ported from Lee:
| commit
f5cd8bf3b7e9adbf9d3918ea85a980e861e3f5d7
| Author: Lee Howard <faxguy@howardsilvan.com>
| Date: Thu Mar 8 18:57:58 2007 +0000
|
| Davide Pagnin points out that xferfaxlog isn't getting updated properly for
| UNSENT records when sending jobs time out and fail.
|
| Also, we weren't updating the status in the req file, either.
* be cleaned up. Not sure if the user should be
* notified of the requeue as well as the timeout?
*/
+ timeoutAccounting(job, *req);
+ req->notice = "Kill time expired";
+ updateRequest(*req, job);
job.state = FaxRequest::state_failed;
deleteRequest(job, req, Job::timedout, true);
setDead(job);