Changed tabs to spaces.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291106 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gustavo André dos Santos Lopes 2009-11-21 03:05:14 +00:00
parent 0a82a13c66
commit 75226677da
2 changed files with 8 additions and 8 deletions

View file

@ -56,8 +56,8 @@
<entry>2.0.0</entry>
<entry>
The Rar entries returned by <function>rar_entry_get</function>
and <function>rar_list</function> are now invalidated when
calling <function>rar_close</function>.
and <function>rar_list</function> are now invalidated when
calling <function>rar_close</function>.
</entry>
</row>
</tbody>

View file

@ -53,15 +53,15 @@ if ($entry === false)
$stream = $entry->getStream();
if ($stream === false)
die("Failed to obtain stream.");
rar_close($rar_file); //stream is independent from file
while (!feof($stream)) {
$buff = fread($stream, 8192);
if ($buff !== false)
echo $buff;
else
break; //fread error
$buff = fread($stream, 8192);
if ($buff !== false)
echo $buff;
else
break; //fread error
}
fclose($stream);