]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 77: fix the logging of COMREC received DCN as such
authorLee Howard <faxguy@howardsilvan.com>
Mon, 25 Apr 2005 21:05:17 +0000 (21:05 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Mon, 25 Apr 2005 21:05:17 +0000 (21:05 +0000)
faxd/Class1Recv.c++

index 160eed3137a094ec31ed737c715567efdcc49a8f..eae96ad345666b0ea2e10de3a419f283220976a9 100644 (file)
@@ -1162,8 +1162,10 @@ Class1Modem::recvPageECMData(TIFF* tif, const Class2Params& params, fxStr& emsg)
                        }
                    }
                    if (!gotprimary && !sendERR) {
-                       if (useV34) emsg = "Failed to properly open V.34 primary channel.";
-                       else emsg = "Failed to properly detect high-speed data carrier.";
+                       if (emsg == "") {
+                           if (useV34) emsg = "Failed to properly open V.34 primary channel.";
+                           else emsg = "Failed to properly detect high-speed data carrier.";
+                       }
                        protoTrace(emsg);
                        if (conf.saveUnconfirmedPages && pagedataseen) {
                            protoTrace("RECV keeping unconfirmed page");