diff options
Diffstat (limited to 'src/peerinfo/gnunet-peerinfo-gtk.c')
-rw-r--r-- | src/peerinfo/gnunet-peerinfo-gtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo/gnunet-peerinfo-gtk.c b/src/peerinfo/gnunet-peerinfo-gtk.c index d0e752db..c8704358 100644 --- a/src/peerinfo/gnunet-peerinfo-gtk.c +++ b/src/peerinfo/gnunet-peerinfo-gtk.c | |||
@@ -527,7 +527,7 @@ get_address (struct PeerInfo *pi, | |||
527 | 527 | ||
528 | for (pa = pi->pa_head; NULL != pa; pa = pa->next) | 528 | for (pa = pi->pa_head; NULL != pa; pa = pa->next) |
529 | if ( (addr->address_length == pa->addr_len) && | 529 | if ( (addr->address_length == pa->addr_len) && |
530 | (0 == memcmp (addr, | 530 | (0 == memcmp (addr->address, |
531 | pa->addr, | 531 | pa->addr, |
532 | addr->address_length)) && | 532 | addr->address_length)) && |
533 | (0 == strcmp (addr->transport_name, | 533 | (0 == strcmp (addr->transport_name, |