Skip to content

Commit

Permalink
Suppressing whitespace by using curl opts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmathai committed Mar 6, 2015
1 parent f0e28b5 commit 1536d4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/S3BucketStreamZip.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ public function send($filename, $params = array())
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$data = curl_exec($ch);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_VERBOSE, 0);
curl_exec($ch);
curl_close($ch);
$zip->addFileFromStream($fileName, $fp);
fclose($fp);
Expand Down

0 comments on commit 1536d4b

Please sign in to comment.