Skip to content

Commit

Permalink
Merge pull request #1 from lizhaofeng1998/master
Browse files Browse the repository at this point in the history
Minor typo fixes
  • Loading branch information
danopia committed Dec 31, 2012
2 parents 137458a + 49160cb commit 5cd147f
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 5cd147f

Please sign in to comment.