]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 232: fix saving of unconfirmed page with error after PPS-NULL
authorLee Howard <faxguy@howardsilvan.com>
Fri, 6 Feb 2004 22:08:31 +0000 (22:08 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Fri, 6 Feb 2004 22:08:31 +0000 (22:08 +0000)
faxd/Class1Recv.c++

index 201a4bd740d464a8cd21ff93c94db402ee8ec58b..a14c570b465d1d3ad0d4a7f7147f09daa8bcf4fa 100644 (file)
@@ -1043,6 +1043,7 @@ Class1Modem::recvPageECMData(TIFF* tif, const Class2Params& params, fxStr& emsg)
                emsg = "Failed to properly detect high-speed data carrier.";
                if (conf.saveUnconfirmedPages && fcount) {
                    protoTrace("RECV keeping unconfirmed page");
+                   writeECMData(tif, block, (fcount * frameSize), params, (seq |= 2));
                    prevPage = true;
                }
                free(block);