mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed return value comment of new_networking function
This commit is contained in:
parent
09302e8909
commit
3d23982250
|
@ -351,8 +351,8 @@ void networking_poll(Networking_Core *net);
|
||||||
* ip must be in network order EX: 127.0.0.1 = (7F000001).
|
* ip must be in network order EX: 127.0.0.1 = (7F000001).
|
||||||
* port is in host byte order (this means don't worry about it).
|
* port is in host byte order (this means don't worry about it).
|
||||||
*
|
*
|
||||||
* return 0 if no problems.
|
* return Networking_Core object if no problems
|
||||||
* return -1 if there were problems.
|
* return NULL if there are problems.
|
||||||
*/
|
*/
|
||||||
Networking_Core *new_networking(IP ip, uint16_t port);
|
Networking_Core *new_networking(IP ip, uint16_t port);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user