Fix a typo
authorLRN <lrn1986@gmail.com>
Sat, 29 Sep 2012 01:29:09 +0000 (01:29 +0000)
committerLRN <lrn1986@gmail.com>
Sat, 29 Sep 2012 01:29:09 +0000 (01:29 +0000)
src/transport/transport-testing.c

index df11b9d10b90bbd64cd88fe4282fb4ec20a02901..660b9c6b447baf25ce97a737ae92d75f2f81d2e6 100644 (file)
@@ -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",