1
0
Fork 0

Fix wrong variable

pull/183/head
Felix Becker 2016-11-26 14:05:54 +01:00
parent c617647634
commit d698cf8238
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ if (!empty($options['tcp'])) {
// Run a TCP Server // Run a TCP Server
$address = $options['tcp-server']; $address = $options['tcp-server'];
$tcpServer = stream_socket_server('tcp://' . $address, $errno, $errstr); $tcpServer = stream_socket_server('tcp://' . $address, $errno, $errstr);
if ($socket === false) { if ($tcpServer === false) {
fwrite(STDERR, "Could not listen on $address. Error $errno\n$errstr"); fwrite(STDERR, "Could not listen on $address. Error $errno\n$errstr");
exit(1); exit(1);
} }