Skip to content

Commit

Permalink
Remove parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
e0ff committed Aug 25, 2018
1 parent 1106c7e commit 7de3052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toxcore/Messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,7 @@ static State_Load_Status load_nospam_keys(Messenger *m, const uint8_t *data, uin
}

set_nospam(m->fr, *(const uint32_t *)data);
load_secret_key(m->net_crypto, (data + sizeof(uint32_t)) + CRYPTO_PUBLIC_KEY_SIZE);
load_secret_key(m->net_crypto, data + sizeof(uint32_t) + CRYPTO_PUBLIC_KEY_SIZE);

if (public_key_cmp(data + sizeof(uint32_t), nc_get_self_public_key(m->net_crypto)) != 0) {
return STATE_LOAD_STATUS_ERROR;
Expand Down

0 comments on commit 7de3052

Please sign in to comment.