]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 77: improve EOT detection within the prologue
authorLee Howard <faxguy@howardsilvan.com>
Tue, 21 Jun 2005 23:28:18 +0000 (23:28 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Tue, 21 Jun 2005 23:28:18 +0000 (23:28 +0000)
faxd/Class1Recv.c++

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