Fix typo in loop over assocs.

This commit is contained in:
zugz (tox) 2018-08-08 23:13:06 +02:00 committed by iphydf
parent ffd71e895b
commit afab28f0ff
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -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;