From 54ec162558f203242639b382eea6e0085300249c Mon Sep 17 00:00:00 2001 From: iphydf Date: Wed, 10 Jan 2018 13:39:07 +0000 Subject: Fix formatting in some C files. Also replace &(x) with &x for consistency. --- toxcore/tox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toxcore/tox.c') diff --git a/toxcore/tox.c b/toxcore/tox.c index 12f37620..f16002f4 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c @@ -355,13 +355,13 @@ void tox_self_get_address(const Tox *tox, uint8_t *address) void tox_self_set_nospam(Tox *tox, uint32_t nospam) { Messenger *m = tox; - set_nospam(&(m->fr), net_htonl(nospam)); + set_nospam(&m->fr, net_htonl(nospam)); } uint32_t tox_self_get_nospam(const Tox *tox) { const Messenger *m = tox; - return net_ntohl(get_nospam(&(m->fr))); + return net_ntohl(get_nospam(&m->fr)); } void tox_self_get_public_key(const Tox *tox, uint8_t *public_key) -- cgit v1.2.3