Changeset 1308
- Timestamp:
- 03/30/06 17:50:41 (7 years ago)
- Files:
-
- freepbx/trunk/amp_conf/bin/fax-process.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/bin/fax-process.pl
r1306 r1308 89 89 open PDF, "tiff2pdf -w8.5 -l11 $file|"; 90 90 $buf = ""; 91 while (read(PDF, $buf, 60*57)) 91 while (read(PDF, $buf, 60*57)) { 92 92 $encoded .= encode_base64($buf); 93 } 93 94 close PDF; 94 95 } else { … … 96 97 # Go back to the start of the file, and start again 97 98 seek(FILE, 0, 0); 98 while (read(FILE, $buf, 60*57)) 99 while (read(FILE, $buf, 60*57)) { 99 100 $encoded .= encode_base64($buf); 101 } 100 102 } 101 103 close FILE;
