From 2876c7004a3cf8a33f28e0b135d7f0c10f751852 Mon Sep 17 00:00:00 2001 From: LRN Date: Sat, 29 Sep 2012 01:29:09 +0000 Subject: Fix a typo --- src/transport/transport-testing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/transport-testing.c') 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", -- cgit v1.2.3