Changeset 1308

Show
Ignore:
Timestamp:
03/30/06 17:50:41 (7 years ago)
Author:
qldrob
Message:

Doh, as usually, stuffed the checkin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/bin/fax-process.pl

    r1306 r1308  
    8989  open PDF, "tiff2pdf -w8.5 -l11 $file|"; 
    9090  $buf = ""; 
    91   while (read(PDF, $buf, 60*57))  
     91  while (read(PDF, $buf, 60*57)) { 
    9292      $encoded .= encode_base64($buf); 
     93  } 
    9394  close PDF; 
    9495} else { 
     
    9697  # Go back to the start of the file, and start again 
    9798  seek(FILE, 0, 0);  
    98   while (read(FILE, $buf, 60*57))  
     99  while (read(FILE, $buf, 60*57)) { 
    99100    $encoded .= encode_base64($buf); 
     101  } 
    100102} 
    101103close FILE;