REST: nothing triggers rest
[oweals/gnunet.git] / src / ats / test_ats_lib.c
index 21eca18e9ad2a8952cbc1b2872c48b8b1f82e73f..33597e6787a9b98f8bd051bc21d3446d37bb9090 100644 (file)
@@ -540,9 +540,8 @@ reservation_cb (void *cls,
   cmd->details.reserve_bandwidth.rc = NULL;
   make_peer (cmd->details.reserve_bandwidth.pid,
              &pid);
-  GNUNET_assert (0 == memcmp (peer,
-                              &pid,
-                              sizeof (struct GNUNET_PeerIdentity)));
+  GNUNET_assert (0 == GNUNET_memcmp (peer,
+                              &pid));
   switch (cmd->details.reserve_bandwidth.expected_result)
   {
   case GNUNET_OK: