mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fix typo in loop over assocs.
This commit is contained in:
parent
ffd71e895b
commit
afab28f0ff
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user