]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 507: add CRP logging to tracePPM()
authorLee Howard <faxguy@howardsilvan.com>
Thu, 31 Mar 2005 21:35:43 +0000 (21:35 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Thu, 31 Mar 2005 21:35:43 +0000 (21:35 +0000)
faxd/FaxModem.c++

index 7ca04640fc3de30a126e6baac1b0cded893272d2..be2cc9290cb1d56e393a89556277cb41ad4ab9a9 100644 (file)
@@ -587,6 +587,10 @@ FaxModem::tracePPM(const char* dir, u_int ppm)
        protoTrace("%s TSI (sender id)", dir);
        return;
     }
+    if ((ppm & 0x7F) == FCF_CRP) {
+       protoTrace("%s CRP (command repeat)", dir);
+       return;
+    }
     static const char* ppmNames[16] = {
        "NULL (more blocks, same page)",                // PPS-NULL
        "EOM (more documents)",                         // FCF_EOM