Skip to content

Commit

Permalink
Merge pull request #1 from xtlsoft/master
Browse files Browse the repository at this point in the history
[+] Fix a typo.
  • Loading branch information
xtlsoft authored Dec 23, 2017
2 parents 8f38c3b + d1bee71 commit 9544652
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions start.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
$proc = @proc_open($cmd, $descriptorspec, $pipes, null, $env);
stream_set_blocking($pipes[0], 0);

$conn->send("+ Complie.Start\r\n");
$conn->send("+ Compile.Start\r\n");

$stdout = new TcpConnection($pipes[1]);
$stdout->onMessage = function($c, $m) use ($conn){
Expand All @@ -81,7 +81,7 @@
proc_terminate($proc);
$stat = proc_get_status($proc)['exitcode'];
if($stat == 0){
$conn->send("OK!\r\n+ Complie.End\r\n");
$conn->send("OK!\r\n+ Compile.End\r\n");
$proc = @proc_open($out, $descriptorspec, $pipes, null, $env);
$start = microtime();
stream_set_blocking($pipes[0], 0);
Expand Down Expand Up @@ -115,7 +115,7 @@
};

}else{
$conn->send("+ Complie.Error\r\n");
$conn->send("+ Compile.Error\r\n");
}

};
Expand All @@ -133,4 +133,4 @@
};

Worker::runAll();


0 comments on commit 9544652

Please sign in to comment.