Fixed a weird, random, pthreads-caused crash

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-09 17:21:49 +02:00
parent 533b175b66
commit 79ca735fb0
3 changed files with 25 additions and 3 deletions

View file

@ -35,7 +35,7 @@ define("BIG_ENDIAN", 0x00);
define("LITTLE_ENDIAN", 0x01);
define("ENDIANNESS", (pack("d", 1) === "\77\360\0\0\0\0\0\0" ? BIG_ENDIAN:LITTLE_ENDIAN));
class Utils extends Thread{
class Utils{
public static $online = true;
public function run(){