cleaner
authorChristian Grothoff <christian@grothoff.org>
Fri, 25 Jun 2010 18:03:03 +0000 (18:03 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 25 Jun 2010 18:03:03 +0000 (18:03 +0000)
src/transport/gnunet-service-transport.c

index 3a6fcf9251bf7b2747a44803eaf56b5c8387c5dd..639252f55a60e47c66254950c1f37342a7ec2451 100644 (file)
@@ -3401,10 +3401,9 @@ check_pending_validation (void *cls,
                         ve->addr,
                         ve->addrlen)) )
        return GNUNET_YES; /* different entry, keep trying! */
-      if ( (0 != memcmp (&pong->pid,
-                        key,
-                        sizeof (struct GNUNET_PeerIdentity))) ||
-          (ve->addrlen == 0) )
+      if (0 != memcmp (&pong->pid,
+                      key,
+                      sizeof (struct GNUNET_PeerIdentity))) 
        {
          GNUNET_break_op (0);
          return GNUNET_NO;