Skip to content

Commit

Permalink
Correct usage to increase stream pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jul 8, 2014
1 parent d24effc commit 60c40c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Compose/Attachment/Storage.php
Expand Up @@ -137,7 +137,7 @@ public function getTempFile()
$fd = fopen($tmp, 'w+');

while (!$stream->eof()) {
fwrite($fd, $stream->getString(null, 8192));
fwrite($fd, $stream->substring(0, 8192));
}
fclose($fd);
$stream->close();
Expand Down

0 comments on commit 60c40c7

Please sign in to comment.