From: LRN Date: Sat, 29 Sep 2012 01:29:09 +0000 (+0000) Subject: Fix a typo X-Git-Tag: initial-import-from-subversion-38251~11563 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;ds=inline;h=2876c7004a3cf8a33f28e0b135d7f0c10f751852;p=oweals%2Fgnunet.git Fix a typo --- diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c index df11b9d10..660b9c6b4 100644 --- a/src/transport/transport-testing.c +++ b/src/transport/transport-testing.c @@ -293,7 +293,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_handle *tth memset(&dummy, '\0', sizeof (dummy)); GNUNET_TESTING_peer_get_identity (p->peer, &p->id); - if (0 == memcmp (dummy, &p->id, sizeof (struct GNUNET_PeerIdentity))) + if (0 == memcmp (&dummy, &p->id, sizeof (struct GNUNET_PeerIdentity))) { GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, "transport-testing", "Testing library failed to obtain peer identity for peer %u\n",