]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 232: fix trailing flag on RCP frame
authorLee Howard <faxguy@howardsilvan.com>
Tue, 7 Oct 2003 18:10:10 +0000 (18:10 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Tue, 7 Oct 2003 18:10:10 +0000 (18:10 +0000)
faxd/Class1Send.c++

index 54f34f06f70a7ab9fe0dac19e54c25bc90dd7a3e..7e1aed586a28fe6ed3255f4f931e8ebf257af08f 100644 (file)
@@ -820,7 +820,7 @@ Class1Modem::blockFrame(const u_char* bitrev, bool lastframe, u_int ppmcmd, fxSt
            blockData(0x7e, true);
 
            // The block is assembled.  Transmit it, adding transparent DLEs.  End with DLE+ETX.
-           if (!putModemDLEData(ecmStuffedBlock, (ecmStuffedBlockPos - 1), bitrev, getDataTimeout())) {
+           if (!putModemDLEData(ecmStuffedBlock, ecmStuffedBlockPos, bitrev, getDataTimeout())) {
                return (false);
            }
            u_char buf[2];