summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-28 22:09:59 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-28 22:09:59 +0000
commit44acea91cdc4d6468154bf5a6f1755e5622d9eb6 (patch)
treefe8113da3d29317d9269de0ed984935ec4a4fbe2 /src/transport/transport-testing.c
parent39d99c9322bab893137e0225acea29fd39c3538e (diff)
-fix cmp
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c
index 035b8fe8e..df11b9d10 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 (dummy)))
+ 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",