diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-28 22:09:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-28 22:09:59 +0000 |
commit | 44acea91cdc4d6468154bf5a6f1755e5622d9eb6 (patch) | |
tree | fe8113da3d29317d9269de0ed984935ec4a4fbe2 /src/transport/transport-testing.c | |
parent | 39d99c9322bab893137e0225acea29fd39c3538e (diff) | |
download | gnunet-44acea91cdc4d6468154bf5a6f1755e5622d9eb6.tar.gz gnunet-44acea91cdc4d6468154bf5a6f1755e5622d9eb6.zip |
-fix cmp
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r-- | src/transport/transport-testing.c | 2 |
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 | |||
293 | 293 | ||
294 | memset(&dummy, '\0', sizeof (dummy)); | 294 | memset(&dummy, '\0', sizeof (dummy)); |
295 | GNUNET_TESTING_peer_get_identity (p->peer, &p->id); | 295 | GNUNET_TESTING_peer_get_identity (p->peer, &p->id); |
296 | if (0 == memcmp (&dummy, &p->id, sizeof (dummy))) | 296 | if (0 == memcmp (dummy, &p->id, sizeof (struct GNUNET_PeerIdentity))) |
297 | { | 297 | { |
298 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, "transport-testing", | 298 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, "transport-testing", |
299 | "Testing library failed to obtain peer identity for peer %u\n", | 299 | "Testing library failed to obtain peer identity for peer %u\n", |