diff options
author | Diadlo <polsha3@gmail.com> | 2017-03-02 23:15:51 +0300 |
---|---|---|
committer | Diadlo <polsha3@gmail.com> | 2017-08-24 20:09:08 +0300 |
commit | 66b8a7685e8fdecd6104f01f840f5d792ce1e041 (patch) | |
tree | 7c65281aefeb21c55ba422ff7d9587675eeb7070 /toxcore/ping.c | |
parent | 8f19c926c0d5231ede61a831050664103e54000e (diff) |
AF_INET -> TOX_AF_INET
Diffstat (limited to 'toxcore/ping.c')
-rw-r--r-- | toxcore/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/ping.c b/toxcore/ping.c index 36c32c61..72b3fe62 100644 --- a/toxcore/ping.c +++ b/toxcore/ping.c | |||
@@ -249,7 +249,7 @@ static int in_list(const Client_data *list, uint16_t length, const uint8_t *publ | |||
249 | if (id_equal(list[i].public_key, public_key)) { | 249 | if (id_equal(list[i].public_key, public_key)) { |
250 | const IPPTsPng *ipptp; | 250 | const IPPTsPng *ipptp; |
251 | 251 | ||
252 | if (ip_port.ip.family == AF_INET) { | 252 | if (ip_port.ip.family == TOX_AF_INET) { |
253 | ipptp = &list[i].assoc4; | 253 | ipptp = &list[i].assoc4; |
254 | } else { | 254 | } else { |
255 | ipptp = &list[i].assoc6; | 255 | ipptp = &list[i].assoc6; |