aboutsummaryrefslogtreecommitdiff
path: root/src/util/peer.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-09 07:39:36 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-09 07:39:36 +0000
commit7c7b5d67e64f7d47aedcb6a7af2ccf513cc2113a (patch)
tree177eb160d3059dfb3c747beab926aea27f260daa /src/util/peer.c
parent4f95fb582c633d5d1b89bd6982efbfc540524314 (diff)
downloadgnunet-7c7b5d67e64f7d47aedcb6a7af2ccf513cc2113a.tar.gz
gnunet-7c7b5d67e64f7d47aedcb6a7af2ccf513cc2113a.zip
-resolve of 0 is well-defined, do NOT assert here, breaks tests as well
Diffstat (limited to 'src/util/peer.c')
-rw-r--r--src/util/peer.c1
1 files changed, 0 insertions, 1 deletions
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)
227 if (0 == id) 227 if (0 == id)
228 { 228 {
229 memset (pid, 0, sizeof (struct GNUNET_PeerIdentity)); 229 memset (pid, 0, sizeof (struct GNUNET_PeerIdentity));
230 GNUNET_assert (0);
231 return; 230 return;
232 } 231 }
233 GNUNET_assert (id < size); 232 GNUNET_assert (id < size);