removed dead code
authorSree Harsha Totakura <totakura@in.tum.de>
Wed, 12 Sep 2012 13:43:08 +0000 (13:43 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Wed, 12 Sep 2012 13:43:08 +0000 (13:43 +0000)
src/testbed/gnunet-service-testbed.c

index 1bc1683c8e3fcf6f689e5a7bd15379d763729d83..9083a8dc314e8923af8242e4e20e5c1f674cff1c 100644 (file)
@@ -2130,13 +2130,6 @@ hello_update_cb (void *cls, const struct GNUNET_MessageHeader *hello)
   uint16_t msize;
 
   msize = ntohs (hello->size);
-  if (msize < 0)
-  {
-    GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
-                "HELLO message of peer %s is of size 0\n",
-                &occ->other_peer_identity);
-    return;
-  }
   empty = GNUNET_YES;
   (void) GNUNET_HELLO_iterate_addresses ((const struct GNUNET_HELLO_Message *)
                                          hello, GNUNET_NO, &test_address,