Skip to content

Commit

Permalink
Merge pull request tpyo#81 from ptarjan/patch-1
Browse files Browse the repository at this point in the history
Don't take curl callback by ref
  • Loading branch information
tpyo committed May 15, 2014
2 parents 7cce95a + 42a9aa2 commit 8413f6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -2303,11 +2303,11 @@ private function __dnsBucketName($bucket)
/**
* CURL header callback
*
* @param resource &$curl CURL resource
* @param string &$data Data
* @param resource $curl CURL resource
* @param string $data Data
* @return integer
*/
private function __responseHeaderCallback(&$curl, &$data)
private function __responseHeaderCallback($curl, $data)
{
if (($strlen = strlen($data)) <= 2) return $strlen;
if (substr($data, 0, 4) == 'HTTP')
Expand Down

0 comments on commit 8413f6f

Please sign in to comment.