]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Add ModemSoftResetCmd to the start of hylafax's default reset string.
authorRobert Colquhoun <rjc@trump.net.au>
Mon, 29 May 2000 07:47:18 +0000 (07:47 +0000)
committerRobert Colquhoun <rjc@trump.net.au>
Mon, 29 May 2000 07:47:18 +0000 (07:47 +0000)
This usually adds a 'ATZ' to the start of reset.

faxd/ClassModem.c++

index c3dbb81fce0212529ae9ea583a07c097972c26a0..77cad3fd125a600d011f432be415126268295eee 100644 (file)
@@ -130,6 +130,8 @@ ClassModem::ClassModem(ModemServer& s, const ModemConfig& c)
     // XXX: workaround yet another GCC bug (sigh)
     const fxStr& flow = conf.getFlowCmd(conf.flowControl);
     resetCmds = "AT"
+             | stripAT(conf.softResetCmd)
+             | "\nAT"
              | stripAT(conf.resetCmds)         // prepend to insure our needs
              | stripAT(conf.echoOffCmd)
              | stripAT(conf.verboseResultsCmd)