Fix spelling errors
This commit is contained in:
		
							parent
							
								
									6587cd6f5e
								
							
						
					
					
						commit
						d68e9d8aba
					
				| @ -67,7 +67,7 @@ Accepting new users | ||||
|  |            |                           | | ||||
|  |            V                           | | ||||
|  |  ---------------------         --------------------- | ||||
|  |  |   Send password   | ------> | Reveive and check | | ||||
|  |  |   Send password   | ------> | Receive and check | | ||||
|  |  | request, if needed|         | password.         | | ||||
|  |  ---------------------         --------------------- | ||||
|  |                                         | | ||||
|  | ||||
| @ -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. | ||||
|  | ||||
| @ -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> | ||||
| 
 | ||||
|  | ||||
| @ -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. | ||||
|  */ | ||||
|  | ||||
| @ -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(); | ||||
| 
 | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user