Skip to content

Commit

Permalink
fix typo in loop over assocs
Browse files Browse the repository at this point in the history
  • Loading branch information
zugz committed Aug 8, 2018
1 parent ffd71e8 commit 41880f6
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 @@ -2626,7 +2626,7 @@ void do_messenger(Messenger *m, void *userdata)

for (client = 0; client < LCLIENT_LIST; ++client) {
const Client_data *cptr = dht_get_close_client(m->dht, client);
const IPPTsPng *const assocs[] = { &cptr->assoc4, &cptr->assoc4, nullptr };
const IPPTsPng *const assocs[] = { &cptr->assoc4, &cptr->assoc6, nullptr };

for (const IPPTsPng * const *it = assocs; *it; ++it) {
const IPPTsPng *const assoc = *it;
Expand Down

0 comments on commit 41880f6

Please sign in to comment.