diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-01-13 18:31:51 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-01-14 16:16:30 +0000 |
commit | d8fcac5b4f66efcec961cf30cb461ab9231c6a67 (patch) | |
tree | 701cbb063b502c0cedeb87641bff39cc24a6bb8f /toxcore/tox.c | |
parent | 4b54d14d9c35740140962942c48d964ee43b49ba (diff) |
Make Friend_Requests a module-private type.
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index ca81cbbc..3201f74e 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -355,13 +355,13 @@ void tox_self_get_address(const Tox *tox, uint8_t *address) | |||
355 | void tox_self_set_nospam(Tox *tox, uint32_t nospam) | 355 | void tox_self_set_nospam(Tox *tox, uint32_t nospam) |
356 | { | 356 | { |
357 | Messenger *m = tox; | 357 | Messenger *m = tox; |
358 | set_nospam(&m->fr, net_htonl(nospam)); | 358 | set_nospam(m->fr, net_htonl(nospam)); |
359 | } | 359 | } |
360 | 360 | ||
361 | uint32_t tox_self_get_nospam(const Tox *tox) | 361 | uint32_t tox_self_get_nospam(const Tox *tox) |
362 | { | 362 | { |
363 | const Messenger *m = tox; | 363 | const Messenger *m = tox; |
364 | return net_ntohl(get_nospam(&m->fr)); | 364 | return net_ntohl(get_nospam(m->fr)); |
365 | } | 365 | } |
366 | 366 | ||
367 | void tox_self_get_public_key(const Tox *tox, uint8_t *public_key) | 367 | void tox_self_get_public_key(const Tox *tox, uint8_t *public_key) |