Skip to content

Commit 5b86dbd

Browse files
committed
Fix HHVM incompatibility (closes #6).
1 parent 6b4ac8f commit 5b86dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MultiRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function wait(PromiseCore $targetCore = null)
9595
);
9696
$core->fulfill($response);
9797
} else {
98-
$error = curl_strerror($info['result']);
98+
$error = curl_error($info['handle']);
9999
$exception = new RequestException($error, $core->getRequest());
100100
$core->reject($exception);
101101
}

0 commit comments

Comments
 (0)