From 7c7b5d67e64f7d47aedcb6a7af2ccf513cc2113a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 9 Jul 2013 07:39:36 +0000 Subject: [PATCH] -resolve of 0 is well-defined, do NOT assert here, breaks tests as well --- src/util/peer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/peer.c b/src/util/peer.c index 81803e097..e33c27ff6 100644 --- a/src/util/peer.c +++ b/src/util/peer.c @@ -227,7 +227,6 @@ GNUNET_PEER_resolve (GNUNET_PEER_Id id, struct GNUNET_PeerIdentity *pid) if (0 == id) { memset (pid, 0, sizeof (struct GNUNET_PeerIdentity)); - GNUNET_assert (0); return; } GNUNET_assert (id < size); -- 2.25.1