diff options
author | Diadlo <polsha3@gmail.com> | 2017-03-04 09:02:26 +0300 |
---|---|---|
committer | Diadlo <polsha3@gmail.com> | 2017-03-04 15:32:00 +0300 |
commit | c1e3358dcd144c83579287b34daba4ba5a7b22ff (patch) | |
tree | 3a0387181d58458983171a07c0bd0529aacfe643 /toxcore/network.h | |
parent | f91af5c93a46b7290bfbcc83ef0bc94382a64938 (diff) |
Fix formatting with astyle
Fix #494
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/network.h b/toxcore/network.h index e6d7bbef..92e5bbcf 100644 --- a/toxcore/network.h +++ b/toxcore/network.h | |||
@@ -391,18 +391,18 @@ int net_connect(Socket sock, IP_Port ip_port); | |||
391 | * | 391 | * |
392 | * return number of elements in res array. | 392 | * return number of elements in res array. |
393 | */ | 393 | */ |
394 | int32_t net_getipport(const char* node, IP_Port** res, int type); | 394 | int32_t net_getipport(const char *node, IP_Port **res, int type); |
395 | 395 | ||
396 | /* Deallocates memory allocated by net_getipport | 396 | /* Deallocates memory allocated by net_getipport |
397 | */ | 397 | */ |
398 | void net_freeipport(IP_Port* ip_ports); | 398 | void net_freeipport(IP_Port *ip_ports); |
399 | 399 | ||
400 | /* return 1 on success | 400 | /* return 1 on success |
401 | * return 0 on failure | 401 | * return 0 on failure |
402 | */ | 402 | */ |
403 | int bind_to_port(Socket sock, int family, uint16_t port); | 403 | int bind_to_port(Socket sock, int family, uint16_t port); |
404 | 404 | ||
405 | size_t net_sendto_ip4(Socket sock, const char* buf, size_t n, IP_Port ip_port); | 405 | size_t net_sendto_ip4(Socket sock, const char *buf, size_t n, IP_Port ip_port); |
406 | 406 | ||
407 | /* Initialize networking. | 407 | /* Initialize networking. |
408 | * bind to ip and port. | 408 | * bind to ip and port. |