Use an explicit index to add values to the multi-bulk reply array.

This commit is contained in:
Daniele Alessandri
2011-01-02 21:51:53 +01:00
parent 2a25b0e3f3
commit 1e32f8aaa8
+1 -1
View File
@@ -617,7 +617,7 @@ class ResponseMultiBulkHandler implements IResponseHandler {
if ($listLength > 0) {
$reader = $connection->getResponseReader();
for ($i = 0; $i < $listLength; $i++) {
$list[] = $reader->read($connection);
$list[$i] = $reader->read($connection);
}
}