]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 667/668: update the job.pid entry on batched jobs when the send program starts
authorLee Howard <faxguy@howardsilvan.com>
Wed, 13 Jul 2005 17:51:56 +0000 (17:51 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Wed, 13 Jul 2005 17:51:56 +0000 (17:51 +0000)
CHANGES
faxd/faxQueueApp.c++

diff --git a/CHANGES b/CHANGES
index 82c238f46a04e23ac614d50fe89ceaae77c7d27a..b9edb0a969a08a75d4ceca1783fdab7710657b69 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,7 @@
 
 Changelog for HylaFAX 4.2.2
 
+* fix job modifications on batched, running jobs (13 Jul 2005)
 * throttle faxq from running the scheduler more than once per
   second in order to keep faxq from eating up CPU (11 Jul 2005)
 * fix job preparation failures in batches from causing faxq list
index 1bbd40fb6813801592e4acc6ff915207bca769ad..216977caf886e134729a0db36474de3a96b4a355 100644 (file)
@@ -1346,8 +1346,8 @@ faxQueueApp::sendJobStart(Job& job, FaxRequest* req, const DestControlInfo& dci)
            | " (PID %lu)"
            , pid
        );
-       job.startSend(pid);
        for (cjob = &job; cjob != NULL; cjob = njob) {
+           cjob->startSend(pid);
            njob = cjob->bnext;
            Trigger::post(Trigger::SEND_BEGIN, *cjob);
            delete cjob->breq;          // discard handle (NB: releases lock)