]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Class1: Handle CRP at Phase C reception
authorAidan Van Dyk <aidan@ifax.com>
Wed, 26 Sep 2007 12:56:06 +0000 (12:56 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Wed, 26 Sep 2007 12:56:06 +0000 (12:56 +0000)
From Lee:
| commit f00ae915ed939befdf8938b76989b19d76f97c45
| Author: Lee Howard <faxguy@howardsilvan.com>
| Date:   Sat Aug 4 14:22:38 2007 +0000
|
|   handle CRP at Phase C reception

faxd/Class1Recv.c++

index f6aa28d59bf39b40dd5c145d8815e39baf29be45..5c940d7a21be62dd8b566e98852ee44f216c6ee4 100644 (file)
@@ -957,6 +957,12 @@ Class1Modem::recvPage(TIFF* tif, u_int& ppm, Status& eresult, const fxStr& id)
                    }
                }
                break;
+           case FCF_CRP:
+               // command repeat... just repeat whatever we last sent
+               if (!useV34 && !switchingPause(eresult)) return (false);
+               transmitFrame(signalSent);
+               traceFCF("RECV send", (u_char) signalSent[2]);
+               break;
            case FCF_DCN:                       // DCN
                protoTrace("RECV recv DCN");
                eresult = Status(108, "COMREC received DCN (sender abort)");