Fix spelling errors

This commit is contained in:
Boris Pek 2019-01-14 22:16:48 +03:00 committed by Jan Vidar Krey
parent ef83b31cec
commit d25fead3a8
6 changed files with 6 additions and 6 deletions

View File

@ -67,7 +67,7 @@ Accepting new users
| | |
| V |
| --------------------- ---------------------
| | Send password | ------> | Reveive and check |
| | Send password | ------> | Receive and check |
| | request, if needed| | password. |
| --------------------- ---------------------
| |

View File

@ -28,7 +28,7 @@ The UDP packet SHOULD be echoed by the hub.
This UDP packet should contain simply 'HECH {cid} {token}' (Hub echo).
The hub should send a packet containing the token back:
'IECH {token} {host:port}', aswell as the same message via TCP.
'IECH {token} {host:port}', as well as the same message via TCP.
If the client receives the message via UDP, it should now be able to determine the type of NAT.
If the client receives the message via TCP only it knows it has a firewall blocking incoming communication.

View File

@ -567,7 +567,7 @@
</option>
<option name="msg_inf_error_nick_taken" type="message" default="Nickname is already in use">
<description><![CDATA[This message will be sent to clients if their provided nickname is alredy in use on the hub.]]></description>
<description><![CDATA[This message will be sent to clients if their provided nickname is already in use on the hub.]]></description>
<since>0.2.0</since>
</option>

View File

@ -109,7 +109,7 @@ extern ssize_t net_con_recv(struct net_connection* con, void* buf, size_t len);
extern ssize_t net_con_peek(struct net_connection* con, void* buf, size_t len);
/**
* Set timeout for connetion.
* Set timeout for connection.
*
* @param seconds the number of seconds into the future.
*/

View File

@ -53,7 +53,7 @@ extern int net_initialize();
extern int net_destroy();
/**
* @return the number of sockets currrently being monitored.
* @return the number of sockets currently being monitored.
*/
extern int net_monitor_count();

View File

@ -356,7 +356,7 @@ static struct rb_node* rb_tree_traverse(struct rb_tree* tree, int dir)
if (p->link[!dir] == n)
return rb_it_set(tree, p);
// walk up in hte current direction
// walk up in the current direction
while (p->link[dir] == n)
{
n = p;