]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 77: handle EOT reception during reception prologue
authorLee Howard <faxguy@howardsilvan.com>
Thu, 20 May 2004 23:15:15 +0000 (23:15 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Thu, 20 May 2004 23:15:15 +0000 (23:15 +0000)
faxd/Class1Recv.c++

index 3eb63c1d4c5bb0e15878481b272ddbf2e8fc5bd7..7f0d6466c5f512f763da02890a36a8da7a2b2739 100644 (file)
@@ -223,6 +223,10 @@ Class1Modem::recvIdentification(
                    t1 = howmany(conf.t1Timer, 1000);
                } while (recvFrame(frame, conf.t2Timer));
            }
+           if (gotEOT) {
+               emsg = "RSPREC error/got EOT";
+               return (false);
+           }
        }
        /*
         * We failed to send our frames or failed to receive