diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-01-10 07:48:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-01-10 07:48:11 +0000 |
commit | cd8c843794230fc02907cf75078e48da1d3a6ae9 (patch) | |
tree | 106f20f88446c04f567bb2a4f31aaeca77fc0480 | |
parent | 86d80959719c685681e41338016d66554fae8ed8 (diff) | |
download | gnunet-gtk-cd8c843794230fc02907cf75078e48da1d3a6ae9.tar.gz gnunet-gtk-cd8c843794230fc02907cf75078e48da1d3a6ae9.zip |
-fix cmp
-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, |