]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 77: don't enable V.34 if ECM isn't being used
authorLee Howard <faxguy@howardsilvan.com>
Wed, 31 Mar 2004 07:14:48 +0000 (07:14 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Wed, 31 Mar 2004 07:14:48 +0000 (07:14 +0000)
faxd/FaxSend.c++

index bcd6d8d8dc2672d99fa60e829cbc0ead85ea5fa6..1cf6c36816226851be70d97dd4fad35502cae971 100644 (file)
@@ -145,7 +145,7 @@ FaxServer::sendFax(FaxRequest& fax, FaxMachineInfo& clientInfo, const fxStr& num
      * doing any fax-specific operations such as
      * requesting polling.
      */
-    if (!modem->faxService(!clientInfo.getHasV34Trouble())) {
+    if (!modem->faxService(!clientInfo.getHasV34Trouble() && dis.ec != EC_DISABLE)) {
        sendFailed(fax, send_failed, "Unable to configure modem for fax use");
        return;
     }