]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 395: fixes Class1Modem::answerCall
authorLee Howard <faxguy@howardsilvan.com>
Sat, 6 Dec 2003 00:07:23 +0000 (00:07 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Sat, 6 Dec 2003 00:07:23 +0000 (00:07 +0000)
         preventing HDLC errors on xon/xoff configurations

faxd/Class1.h
faxd/Class1Recv.c++

index 9575cd01649b9853ddd3646ea0ea581ea72dde41..6d1f2a5986fa139be36d07f65bf233a7b81860a7 100644 (file)
@@ -186,7 +186,7 @@ public:
     void       sendAbort();
 
 // receive support
-    CallType   answerCall(AnswerType, fxStr& emsg);
+    CallType   answerCall(AnswerType, fxStr& emsg, const char* number);
     u_int      modemDIS() const;
     u_int      modemXINFO() const;
     bool       setupReceive();
index a2f793d840895415fe093bb7134d0a012dc2e347..9f4b8b8ca74304d842076744edfebeae6642b7be 100644 (file)
  * flow control state to be setup to our liking.
  */
 CallType
-Class1Modem::answerCall(AnswerType type, fxStr& emsg)
+Class1Modem::answerCall(AnswerType type, fxStr& emsg, const char* number)
 {
     if (flowControl == FLOW_XONXOFF)
        setXONXOFF(FLOW_NONE, FLOW_NONE, ACT_FLUSH);
-    return FaxModem::answerCall(type, emsg);
+    return ClassModem::answerCall(type, emsg, number);
 }
 
 /*