From Lee's work:
| commit
cdaf7f3b41170a76e2717863514df6368e51de7c
| Author: Lee Howard <faxguy@howardsilvan.com>
| Date: Thu Jul 27 19:36:20 2006 +0000
|
| this improves the error-handling for situations where Phase B fails
| following EOM... notably it gets emsg into the info array
Changelog since HylaFAX 4.3.3
+* Improve Class 1 handling when prologue frames fail after EOM (13 Mar 2007)
* Improve and extend JPEG parsing (13 Mar 2007)
* Restrict the usage of sending EOR, even when using MH and MR (13 Mar 2007)
* Fix send buffer when transmitting non-ECM data with a non-zero
if (tif == NULL)
return (false);
fileStart = pageStart = Sys::now();
- if (!modem->recvEOMBegin(emsg))
+ if (!modem->recvEOMBegin(emsg)) {
+ info.reason = emsg;
+ docs[docs.length()-1] = info;
+ TIFFClose(tif);
return (false);
+ }
}
/*NOTREACHED*/
}