Skip to content

Commit

Permalink
Minor typo & presentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaofengli committed Dec 29, 2012
1 parent 137458a commit 49160cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$u_info = array();


// socket_noprmal_read pasted off php.net, thanks to the
// socket_normal_read() was pasted off php.net, thanks to the
// poster. used to correctly read to newlines on win32
$sockets = array();
$queues = array();
Expand All @@ -35,7 +35,7 @@ function socket_normal_read($socket)
}

$recv = socket_read ($socket, $config['max_len']);
//$recv = str_replace($recv, "\r", "");
//$recv = str_replace($recv, "\r", "");
if ($recv === "") {
if (strpos ($queues[$i], $config['line_ending']) === false)
return false;
Expand Down

0 comments on commit 49160cb

Please sign in to comment.