Fixed async thread get

This commit is contained in:
Shoghi Cervantes 2013-06-25 01:22:02 +02:00
parent 3fb99e118c
commit c00bfe3908

View File

@ -244,7 +244,7 @@ class PocketMinecraftServer{
case ASYNC_CURL_GET:
case ASYNC_CURL_POST:
$len = Utils::readInt(substr($this->asyncThread->output, $offset, 4));
$offset += 2;
$offset += 4;
$data["result"] = substr($this->asyncThread->output, $offset, $len);
$offset += $len;
break;