Skip to content

Commit

Permalink
Fixed misspelling in the timeout curl option.
Browse files Browse the repository at this point in the history
  • Loading branch information
André Bocati committed Dec 19, 2012
1 parent c590a2a commit 16aaaf5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/class.apistructure.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ public static function start($uri, $xml, $timeout = 60) {
$curl->init($uri);
$curl->setopt('POST', true);
$curl->setopt('POSTFIELDS', $xml);
$curl->setopt('TIMEOUT', $timeouts);

$curl->setopt('TIMEOUT', $timeout);
return $curl;
}
}
Expand Down

0 comments on commit 16aaaf5

Please sign in to comment.