This patch, by Lee Howard, fixes a error that is revealed by some compilers
that could lead to looping.
Changelog
+* fix incorrect "Fax protocol error" in ECM mode (03 Apr 2006)
* add German NSFs and correct HylaFAX NSF bit order (03 Apr 2006)
* set Class1RMPersistence to 0 in digi config prototype (03 Apr 2006)
* extend V.21 HDLC frame reception timeout to 10 sec (03 Apr 2006)
}
}
+ u_int ppr;
do {
- u_int ppr;
if (signalRcvd == 0) {
/*
* Send post-page message and get response.
protoTrace(emsg);
return (send_retry);
}
- } while (frame.getFCF() == FCF_CRP && ++ncrp < 3);
+ } while (ppr == FCF_CRP && ++ncrp < 3);
if (ncrp == 3) {
emsg = "Fax protocol error (command repeated 3 times)";
protoTrace(emsg);